overlay: sgid inheritance over whiteout

Newly created files and dirs should inherit sgit bit from parent
dir, no matter the new files & dirs are created over whiteout or
not.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Eryu Guan
2016-08-25 16:16:12 +08:00
parent 06d400134e
commit 88d00424cf
3 changed files with 104 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
QA output created by 015
drwxr-sr-x fsgqa
-rw-r--r-- fsgqa
drwxr-sr-x fsgqa
-rw-r--r-- fsgqa
-rw-r--r-- fsgqa