mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
92846328ba
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>
18 lines
436 B
Plaintext
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
|