LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   mount a usb hdd in R/W mode (https://www.linuxquestions.org/questions/linux-general-1/mount-a-usb-hdd-in-r-w-mode-103750/)

asterix 10-14-2003 07:18 AM

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

trickykid 10-14-2003 07:22 AM

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.

kilgoretrout 10-14-2003 08:25 AM

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

asterix 10-14-2003 10:57 AM

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.