[Ocfs2-devel] [PATCH] ocfs2: fix SGID not inherited issue

Andrew Morton akpm at linux-foundation.org
Tue Dec 8 13:22:15 PST 2015


On Mon,  7 Dec 2015 12:09:06 +0800 Junxiao Bi <junxiao.bi at oracle.com> wrote:

> commit 8f1eb48758aa ("ocfs2: fix umask ignored issue") introduced an issue,
> SGID of sub dir was not inherited from its parents dir. It is because SGID
> is set into "inode->i_mode" in ocfs2_get_init_inode(), but is overwritten
> by "mode" which don't have SGID set later.
> 
> Fixes: 8f1eb48758aa ("ocfs2: fix umask ignored issue")
> Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
> Cc: <stable at vger.kernel.org>

8f1eb48758aa is only in 4.4-rcX so I removed the cc:stable.



More information about the Ocfs2-devel mailing list