[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <af8d5834d1bfb5f19aaf7deba6caa1a0@mail.net4visions.de>
Date: Tue, 25 Oct 2011 10:55:55 +0200
From: Markus Kolb <linux-201011@...er-net.de>
To: <linux-kernel@...r.kernel.org>
Subject: Question to directory setgid bit FS implementation details
Hello,
can you please explain in brief how the creation of files
in directories with setgid bit set is implemented in
filesystems.
I'd like to know this for a ext2/3/4 fs, jfs and nfs v3/4
if there are essential differences.
Which source part is responsible for setting the group on
the new file?
Is the effective group of the process changed before creating
the file?
Is there any sync for thread safety during the change of
process group?
Where can I find this sync in source?
Or how is this implemented that the file gets the same group
like the parent directory?
Many thanks
Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists