LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant mount with umask=000 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-mount-with-umask%3D000-471585/)

Maverick1182 08-07-2006 09:11 AM

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?

michaelk 08-07-2006 09:15 AM

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.

Maverick1182 08-07-2006 10:49 AM

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 :)


All times are GMT -5. The time now is 07:34 PM.