Files
apfstests/tests/generic/375.out
T
Eric Biggers 92846328ba generic/375: test both regular file and directory
generic/375 previously only tested SGID being cleared on a regular
file. It should test SGID being cleared on a directory too. Though
this is not required by POSIX, it is the Linux behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
2016-10-13 15:53:46 +08:00

18 lines
436 B
Plaintext

QA output created by 375
*** SGID should remain set (twice)
-rwxrwsrwx
-rwxrwsrwx
*** SGID should be cleared (twice)
-rwxrwxrwx
-rwxrwxrwx
*** Expected failure
chmod: changing permissions of 'testfile.375': Operation not permitted
*** SGID should remain set (twice)
drwxrwsrwx
drwxrwsrwx
*** SGID should be cleared (twice)
drwxrwxrwx
drwxrwxrwx
*** Expected failure
chmod: changing permissions of 'testdir.375': Operation not permitted