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 /crypto/echainiv.c | |
parent | a909d3e636995ba7c349e2ca5dbb528154d4ac30 (diff) |
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 'crypto/echainiv.c')
0 files changed, 0 insertions, 0 deletions