LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 09: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, 09:15 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
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, 10: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



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 07:57 AM
1,000,000,000 PCs by 2010 masand Linux - News 4 11-01-2004 01:55 AM
mount with uid and umask via NFS grendel-IT Linux - Networking 1 08-06-2004 11:57 AM
LinuxQuestions.org Surpasses 1,000,000 Posts jeremy LQ Suggestions & Feedback 15 07-21-2004 12:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02: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
Open Source Consulting | Domain Registration