coder icon indicating copy to clipboard operation
coder copied to clipboard

unzip cannot create symbolic links

Open PSLLSP opened this issue 11 years ago • 3 comments

I create SDHC card (4GB) for Raspberry PI. I run unzip at Ubuntu 12.04.4 and I noticed, that unzip reported errors related to symlinks:

$ unzip /home.user/coder_v0.6.zip ..... inflating: __MACOSX/coder_v0.6/CoderSetup.app/Contents/Resources/._site.pyc inflating: __MACOSX/coder_v0.6/CoderSetup.app/Contents/._Resources inflating: __MACOSX/coder_v0.6/CoderSetup.app/._Contents inflating: __MACOSX/coder_v0.6/._CoderSetup.app inflating: coder_v0.6/raspi.img finishing deferred symbolic links: coder_v0.6/CoderSetup.app/Contents/Frameworks/Python.framework/Versions/Current -> 2.7 symlink error: Operation not permitted coder_v0.6/CoderSetup.app/Contents/Resources/lib/python2.7/site.pyc -> ../../site.pyc symlink error: Operation not permitted

$ pwd; df -h . /media/FE90-3B41 Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 3.8G 2.9G 878M 77% /media/FE90-3B41

$ mount | grep mmcb /dev/mmcblk0p1 on /media/FE90-3B41 type vfat (rw,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,showexec,flush,uhelper=udisks)

PSLLSP avatar Jun 27 '14 16:06 PSLLSP

It is possible that install instructions are wrong. The SDHC card I created cannot boot in my Raspberry PI, there is only blank screen, no action...

I followed instruction at http://googlecreativelab.github.io/coder/

Download, unzip, and run the Coder Installer. You'll need a 4GB SD Card. Mac users, just run the provided installer. PC users, check out our Windows-specific Instructions for more installation details.

Windows-specific Instructions describe, how to format SDHC card with SD Formater. I did that. Result is empty SDHC card with FAT partition.

I extracted file coder_v0.6.zip to empty partition...

Could you review install instructions? I guess they are not correct....

PSLLSP avatar Jun 27 '14 17:06 PSLLSP

I found that file coder_v0.6/raspi.img is binary image of SD card and it has to be transferred to SDHC card with command like dd

dd if=coder_v0.6/raspi.img of=/dev/sdX

where /dev/sdX is your SD card reader

Instruction to prepare SDHC card under windows with tool SD Formater is misleading. That is useless.

This information is valid for image file: http://www.raspberrypi.org/documentation/installation/installing-images/README.md

OK. My RPI is running coder distribution. I don't like that I am forced to strong password in the web gui, password has to follow some rules:

  • THE PASSWORD SHOULD CONTAIN AT LEAST 6 CHARACTERS
  • YOUR PASSWORD MUST CONTAIN A LOWER CASE LETTER AND AT LEAST TWO UPPER CASE LETTERS OR NUMBERS

WHY? My code is not such valuable to be protected with strong password, my RPI will be in local network, it is save environment... My RPI, my password, my code, my responsibility!

I miss information about login with ssh or cli, what user name and password to use. Distribution is based on Raspbian but default user/password pi/raspberry doesn't work. What are default credentials for coder?

PSLLSP avatar Jun 27 '14 19:06 PSLLSP

@PSLLSP SSH login is: Username: pi Password: the password you set when you configured Coder

odensc avatar Jun 29 '14 01:06 odensc