overlay: create new file over whiteout
authorEryu Guan <eguan@redhat.com>
Wed, 22 Jun 2016 11:38:58 +0000 (19:38 +0800)
committerEryu Guan <eguan@redhat.com>
Thu, 23 Jun 2016 12:18:32 +0000 (20:18 +0800)
commit6842811457ae72a955b1019d38fd5f4f8e701858
tree14752b5621dbd0face1fa5b11aad9c4413ab9ce0
parentb3b54d0d9eba09f95ccf9879f1357589c0d28418
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>
tests/overlay/008 [new file with mode: 0755]
tests/overlay/008.out [new file with mode: 0644]
tests/overlay/group