b0cd38c7f5
When creating a file inside a directory that has the setgid flag set, give the new file the group ID of the parent, and also the setgid flag if it is a directory itself. Link: http://lkml.kernel.org/r/20171204192705.GA6101@debian.home Signed-off-by: Ernesto A. Fernandez <ernesto.mnd.fernandez@gmail.com> Reviewed-by: Vyacheslav Dubeyko <slava@dubeyko.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
acl.h | ||
attributes.c | ||
bfind.c | ||
bitmap.c | ||
bnode.c | ||
brec.c | ||
btree.c | ||
catalog.c | ||
dir.c | ||
extents.c | ||
hfsplus_fs.h | ||
hfsplus_raw.h | ||
inode.c | ||
ioctl.c | ||
options.c | ||
part_tbl.c | ||
posix_acl.c | ||
super.c | ||
tables.c | ||
unicode.c | ||
wrapper.c | ||
xattr.c | ||
xattr.h | ||
xattr_security.c | ||
xattr_trusted.c | ||
xattr_user.c |