Share your knowledge at the LQ Wiki.
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, 07: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, 07:22 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
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, 08:25 AM   #3
Senior Member
Registered: Oct 2003
Posts: 2,556

Rep: Reputation: 213Reputation: 213Reputation: 213
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, 10: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 06:40 PM
Install directly to HDD from iso on HDD/USB, with out burning cd vivinuthappa DamnSmallLinux 7 11-16-2004 10:03 AM
USB hdd mount n2 koy Linux - Newbie 2 10-03-2004 11:48 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:04 AM.

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