mount a usb hdd in R/W mode
Hi !
I try to mount an ide hdd witch is in a external box usb. As root there is no problem. But as a simple user i can't mount the device neither write on it . I am looking for the syntaxe i have to use... (the user is laurent = 500 ; the grupe is also laurent = 501) I tried this in the fstab : /dev/sda5 /mnt/usb vfat user,noauto,gid=501,umask=000,rw 0 0 and also this : /dev/sda5 /mnt/usb vfat user,noauto,uid=laurent,gid=laurent,umask=000,rw 0 0 Anyway, neither i can mount the device, nor i can write on it even if root as mounted it. :confused: Would you be kind enough to help me to found any solution ?:scratch: Bye JD |
Moved: In the future, please place your threads in the most appropiate forum. This is not a success story but your asking questions, so it doesn't belong in the Success Stories forum. Regards.
|
Here's what I use on my external usb hard drive and I have read/write access:
/dev/sda5 /mnt/rem vfat user,exec,noauto,defaults,umask=0,rw 0 0 |
Thanks,
In fact i just mad a mistake with the mount syntaxe ! :( Usually one mount something somewhere, but because it's written in the fstab, one just have to mount something (the system nows where to mount it !!!) The line is : /dev/sda5 /mnt/usb vfat user,noauto,uid=laurent,gid=laurent 0 0 where the user is "laurent" and his groupe "laurent", and this user can mount, read, write, and umount the device. Every thing's all right |
All times are GMT -5. The time now is 06:28 AM. |