overlay: create new file over whiteout

Create file/dir over whiteout by another user, uid/gid of the
file/dir should be current fsuid/fsgid, not the mounter's.

This upstream kernel patch fixed the issue
d0e13f5 ovl: fix uid/gid when creating over whiteout

Reviewed-by: Xiong Zhou <xzhou@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Eryu Guan
2016-06-22 19:38:58 +08:00
parent b3b54d0d9e
commit 6842811457
3 changed files with 89 additions and 0 deletions
+1
View File
@@ -10,3 +10,4 @@
005 auto copyup quick
006 auto quick copyup whiteout
007 auto quick
008 auto quick whiteout