LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-24-2005, 01:13 AM   #1
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 179

Rep: Reputation: 31
fstab mounting 2nd harddisk


My machine dual boots with windows and linux on 2 different harddisks.
I have setup my fstab to mount the windows vat32 partition at boot up under /home/username/harddisk.

Logged in as a user, I can view the windows drive but it is read only unless I am logged in as root.

The line in my fstab is

Quote:
/dev/hda1 /home/username/harddisk vfat rw,noexec,nosuid,nodev,users 0 0
If I log in as root and change the permissions of the folder to my user name, I have read/write access, but after a reboot, its back to only root access.

Is there a way I can set it up so it is always rw for users?
 
Old 11-24-2005, 01:15 AM   #2
emanresu
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 76

Rep: Reputation: 15
add option: umask=0000
 
Old 11-24-2005, 01:31 AM   #3
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 179

Original Poster
Rep: Reputation: 31
Man that was a damn quick turn around.. Post, reply, test and thank.


added that option, worked a charm

Thanks.
 
Old 11-24-2005, 02:15 AM   #4
emanresu
Member
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 76

Rep: Reputation: 15
your very welcome.
 
  


Reply


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
Mounting my second harddisk? amer_58 Linux - Newbie 10 08-20-2005 09:26 AM
install fedora core 2 on 2nd harddisk arthurf Linux - Software 1 07-18-2004 11:37 AM
need help editing fstab and mounting 2nd harddrive Apostasy Linux - Newbie 18 06-25-2004 09:47 AM
Mounting new harddisk Bodycount Linux - Newbie 1 10-26-2003 08:32 AM
Installing linux on 2nd Harddisk cyberzen Linux - General 11 06-15-2003 06:12 PM


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

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