umask makes no sense
I have been trying to understand umask, it is confusing me. If I put this entry in my fstab I get this result
/dev/hda2 /mnt/ntfs ntfs umask=000,noauto,user 1 0
this gives me a permission of 555 for the directory /mnt/ntfs
/dev/hda2 /mnt/ntfs ntfs umask=111,noauto,user 1 0
it gives me thes results with this line, permission 0f 400. why would it not be 444
I am baseing my logic on this, wouldn't each of the ones in umask=111 minus from each of the fives(the permission with umask=000)
I am lost? any help understanding would be appreciated.
forgive me about this question. I can not seem to write anything that sounds clear and consise tonight.
Last edited by shanenin; 10-30-2003 at 09:50 PM.