Christopher Sawtell wrote:

On Sat, 02 Oct 2004 20:21, Steve Holdoway wrote:


Robert Fisher wrote:


On Sat, 02 Oct 2004 18:36, Steve Holdoway wrote:


Try using the word 'defaults' as your option list. That's all you need.
If mount /mnt/share works as a command line on its own, then you're
sorted.

Steve


/dev/sda4    /mnt/share      ext3   defaults,umask=000      0 0

Does not work either.

Keep trying - I do appreciate everybody's efforts to help me.


and the difference between defaults,umask=000 and defaults is...?

Try r'ing tfm. man mount will show you that umask is *NOT* valid for
ext3 filesystems.


Actually it doesn't!
I have just pored over the man page line by line & it says that umask is not valid in the context of ext3, merely by not mentioning it at all in the ext3 options paragraph. That fact is something which is part of the 'Unix Lore' and thus imho quite reasonable for a relative newby to miss.


I have sshed in and fixed it for Rob.



man page options section for mount ( fedora core 2 ) is formatted as follows:

...

a) Options available for the mount command.
   does not mention the umask command.

b) filesystem specific mount options.
 adfs
 affs
 coherent
 devpts
 ext
 ext2
 ext3 ( as ext2 plus... )
 fat
    umask is a valid option
 hpfs
    umask is a valid option
 iso9660
 and so on....


This is the same as the man page found in slackware, white box and debian ( these being the only versions I'm running at the moment ). To mention the umask option *ONLY* in the fat, hpfs, ntfs and udf specific mount options does not imply that you need to be steeped in Unix Lore to guess the scope of its validity (:



Steve






Reply via email to