Re: NFS client won't set GID on file create

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed Mar 22 2000 - 18:47:02 EST


Hi,

On Wed, Mar 22, 2000 at 06:13:24AM -0800, David Rysdam wrote:
>
> Linux's normal (i.e. non-NFS) behavior seems to be (I
> can't find this doc's anywhere):
> -use the UID of the creating process
> -use the GID of the creating process

For reference, the default behaviour for Linux/ext2 is the above,
except that if you mount the filesystem with -o bsdgroups, OR you
set the sgid bit on the parent directory, in which cases it
inherits the parent directory's GID. (The sgid bit for the directory
is also inherited by subdirectories, so by setting this bit you can
make the entire subdirectory tree default to inheriting the same
GID.)

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:37 EST