Re: Question to directory setgid bit FS implementation details

From: Valdis . Kletnieks
Date: Tue Oct 25 2011 - 05:19:38 EST


On Tue, 25 Oct 2011 10:55:55 +0200, Markus Kolb said:

> can you please explain in brief how the creation of files
> in directories with setgid bit set is implemented in
> filesystems.

Look in fs/inode.c, function inode_init_owner(). All of 8 lines of code.

Attachment: pgp00000.pgp
Description: PGP signature