overlay/023: use numeric user and group IDs in getfacl

This prevents test failures if cases where, e.g., /etc/group doesn't
include the 'root' group ID.

Cc: Xiong Zhou <xzhou@redhat.com>
Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: Murphy Zhou <xzhou@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Luis Henriques
2019-05-17 12:24:22 +01:00
committed by Eryu Guan
parent b6d45325f8
commit 9f2e4554c5
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ setfacl -d -m o::rwx $wkdir
_scratch_mount
# getting acls, ACL set on workdir should be cleaned
getfacl -p $wkdir/work 2>&1 | _filter_scratch | _filter_ovl_dirs
getfacl -n -p $wkdir/work 2>&1 | _filter_scratch | _filter_ovl_dirs
# success, all done
status=0
+2 -2
View File
@@ -1,7 +1,7 @@
QA output created by 023
# file: SCRATCH_DEV/OVL_WORK/work
# owner: root
# group: root
# owner: 0
# group: 0
user::---
group::---
other::---