2
I have a Raspberry Pi which I recently bought, and am planning to use it as a torrent box. While setting it up (over SSH) I tried to mount a 8GB SanDisk USB Drive I had connected to it earlier.
sudo mount /dev/sda1 /home/pi/usb
It occurred successfully.
However, when I navigated to it's mount-point, I was unable to create a folder or file.
cd /home/pi/usb
mkdir lel
It threw a "no permission error". I tried making another folder in /home/pi with normal privileges, and everything works fine. Only in the /home/pi/usb direcctory where my drive is mounted nothing seems to happen, though I can create files using sudo
Since I have a torrent client (deluge) which is unable to write to the flash drive that is mounted, I am facing problems.
I tried sudo chmod 777 -R /home/pi/usb
with no success
Please help (Also I'm a linux noob)
UPDATE: I've found this to work:
sudo mount /dev/sda1 /home/pi/usb -o umask=000
It allows me to mkdir
and stuff. How can I automate this for every time it boots up? (What do I need to do in fstab)
Can you show us the result of the mount command in the terminal? – Rik Verbeek – 2014-11-21T14:38:54.900