hypriot / flash

Command line script to flash SD card images of any kind
MIT License
1.01k stars 173 forks source link

fixes flash on debian 8.3 #64

Closed jeanescoto closed 8 years ago

StefanScherer commented 8 years ago

@jeanescoto Thank you. So a sudo is needed to write the file in the FAT partition of the SD card? Can you write other files with your user account into that partition? Normally this should be mounted read-writable for the current user.

jeanescoto commented 8 years ago

@StefanScherer

You see, An operation performed by root only sets writable permission to root

In order to not use sudo a chmod or chown should be done on directory /tmp/mnt after mounted.

StefanScherer commented 8 years ago

Ok, as we need sudo for other commands I think this is good enough to keep it simple.