You are not logged in.
Pages: 1
i am trying to mount my usb harddrive but i cannot access the folder i mounted it to as user.
It says permission denied.
As root everything is fine.
Here is my fstab entry:
/dev/sda1 /mnt/USB ntfs user,noauto,noexec,nosuid 0 0
Offline
Hello!
This is how it works for me:
1) Modify /etc/fstab:
/dev/sda1 /mnt/pendrive vfat user,exec,noauto,umask=111,dmask=000 0 0
You can safely ignore the umask and dmask options, that's not the problem.
2) Create the mount point: [look at the permissions here]
# mkdir /mnt/pendrive
# ls -ld /mnt/pendrive/
drwxr-xr-x 2 root root 6 2006-06-02 10:41 /mnt/pendrive/
3) Try to mount as a user:
$ mount /mnt/pendrive/
$ mount | grep pendrive
/dev/sda1 on /mnt/pendrive type vfat (rw,nosuid,nodev,umask=111,dmask=000,user=manu)
Hope this helps.
Regards,
miausX.
='.'= <-- Cat powered by Arch Linux
Offline
Or you could use Udev check wiki for details
Mr Green
Offline
Pages: 1