Neil Bothwick schreef:
> On Fri, 12 Aug 2005 17:07:32 +0100, Uwe Thiem wrote:
> 
> 
>>If not (like FAT) you need something like "mount -o 
>>uid=youruser,gid=users,umask=0777" 
> 
> 
> Don't you mean umask=0? umask inverts the bits, so 777 gives --------- to
> all files.
> 
> 

I'm currently in the middle of an 'argument' with someone else about
this, so explain, please.

If umask masks bits off of the 'default' permissions, then what is the
point of umask=000? It seems that it would leave the permissions as the
default, which appear to be 755 (is there a creation mask of 022
somewhere in the 'default' settings? I can't find it, if so), unless
you've explicitly set them to soemthing else.

The other person says that umask=000 removes all restrictions and gives
 all permissions to everybody, but I just don't understand how this
could be, unless the specific file/mount point was already set that way
(no file creation mask, so the files are 'created' with the default
777/666, or inherited the permission structure of the parent).

In any case, I use(d) umask=017 (full permissions for owner, rw for
group, and nothing for anyone else)-- but I had first set the
permissions for the mount point to 750 and mounted vfat partitions using
uid and gid, so that I would be the owner with the full permissions.

Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to