diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-10-31 14:42:14 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-10-31 14:42:14 +0100 |
commit | fd3220d37b1f6f0cab6142d98b0e6c4082e63299 (patch) | |
tree | 69f329819476f64840bfa280bb83f1504efd7afd /fs/9p/vfs_dir.c | |
parent | a909d3e636995ba7c349e2ca5dbb528154d4ac30 (diff) | |
download | linux-fd3220d37b1f6f0cab6142d98b0e6c4082e63299.tar.bz2 |
ovl: update S_ISGID when setting posix ACLs
This change fixes xfstest generic/375, which failed to clear the
setgid bit in the following test case on overlayfs:
touch $testfile
chown 100:100 $testfile
chmod 2755 $testfile
_runas -u 100 -g 101 -- setfacl -m u::rwx,g::rwx,o::rwx $testfile
Reported-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Tested-by: Amir Goldstein <amir73il@gmail.com>
Fixes: d837a49bd57f ("ovl: fix POSIX ACL setting")
Cc: <stable@vger.kernel.org> # v4.8
Diffstat (limited to 'fs/9p/vfs_dir.c')
0 files changed, 0 insertions, 0 deletions