Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-14-2003, 08:18 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
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.

Would you be kind enough to help me to found any solution ?


Old 10-14-2003, 08:22 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,147

Rep: Reputation: 229Reputation: 229Reputation: 229
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.
Old 10-14-2003, 09:25 AM   #3
Senior Member
Registered: Oct 2003
Posts: 2,397

Rep: Reputation: 163Reputation: 163
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
Old 10-14-2003, 11:57 AM   #4
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
booting from usb hdd -> mount: error 6 mounting reiserfs shlape Linux - Hardware 0 09-22-2005 07:40 PM
Install directly to HDD from iso on HDD/USB, with out burning cd vivinuthappa DamnSmallLinux 7 11-16-2004 11:03 AM
USB hdd mount n2 koy Linux - Newbie 2 10-03-2004 12:48 PM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 02:50 PM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 12:50 PM

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration