hypriot / flash

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

Need sudo for Linux/flash #87

Closed mbruzek closed 8 years ago

mbruzek commented 8 years ago

I tried running the flash script on my Ubuntu 14.04 (trusty) system that had hdparm installed and got an error. I enabled xtrace and found the problem:

+ hdparm -z /dev/sdd
/dev/sdd: Permission denied

Incoming pull request for this issue.