LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2006, 10:11 AM   #1
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Rep: Reputation: 30
Cant mount with umask=000


Hi there, i've tried to create an ext2 partition in gentoo which i can use EXT2IFS drviers in windows to write to. Unfortunately, it wont let me mount it with read/write priveleges for normal users.

The mount command works without complain if the following line is inserted in the fstab document:

/dev/hda10 /mnt/fatty auto user,rw

As its obviosuly told it to mount read/write (rw) but only root has rights to make changes to the drive.




But when i try the common umask=000 command as below:


/dev/hda10 /mnt/fatty auto user,umask=000 0 0


It spits out the following:

mount: wrong fs type, bad option, bad superblock on /dev/hda10,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

desg gives out:

EXT3-fs: Unrecognized mount option "umask=000" or missing value


any ideas?
 
Old 08-07-2006, 10:15 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,272

Rep: Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626Reputation: 1626
umask is not a valid option for an ext2 filesystem.

Use the chmod command to change permissions for the directory to allow users to read/write.
 
Old 08-07-2006, 11:49 AM   #3
Maverick1182
Member
 
Registered: Aug 2004
Location: London
Distribution: Gentoo
Posts: 277

Original Poster
Rep: Reputation: 30
It's done. I managed to use "chmod -R /mnt/<mouted folder>" as su and its able to write to it.

Hope this helps anyone
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LinuxQuestions.org Hits 2,000,000 Posts jeremy Linux - News 16 06-19-2006 08:57 AM
1,000,000,000 PCs by 2010 masand Linux - News 4 11-01-2004 02:55 AM
mount with uid and umask via NFS grendel-IT Linux - Networking 1 08-06-2004 12:57 PM
LinuxQuestions.org Surpasses 1,000,000 Posts jeremy LQ Suggestions & Feedback 15 07-21-2004 01:52 AM


All times are GMT -5. The time now is 10:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration