Home
last modified time | relevance | path

Searched refs:UID2 (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/idmap_mount/
H A Didmap_mount_001.ksh66 log_must chown $UID2:$GID2 $WORKDIR/subdir/file2
68 log_must idmap_util -m "u:${UID1}:${UID2}:1" -m "g:${GID1}:${GID2}:1" $WORKDIR $IDMAPDIR
70 log_must test "$UID2 $GID2" = "$(stat -c '%u %g' $IDMAPDIR/file1)"
71 log_must test "$UID2 $GID2" = "$(stat -c '%u %g' $IDMAPDIR/file1_sym)"
72 log_must test "$UID2 $GID2" = "$(stat -c '%u %g' $IDMAPDIR/subdir)"
73 log_must test "$UID2 $GID2" = "$(stat -c '%u %g' $IDMAPDIR/subdir/file1_hard)"
74 log_mustnot test "$UID2 $GID2" = "$(stat -c '%u %g' $IDMAPDIR/subdir/file2)"
H A Didmap_mount_002.ksh63 log_must idmap_util -m "u:${UID1}:${UID2}:1" -m "g:${GID1}:${GID2}:1" $WORKDIR $IDMAPDIR
65 SETPRIV="setpriv --reuid $UID2 --regid $GID2 --clear-groups"
86 log_must $SETPRIV chown $UID2:$GID2 $IDMAPDIR/subdir/file2
H A Didmap_mount_003.ksh66 log_must idmap_util -m "u:${UID1}:${UID2}:1" -m "g:${GID1}:${GID2}:1" $WORKDIR $IDMAPDIR
80 echo "${UID1} ${UID2} 1" > /proc/$unshared_pid/uid_map
111 log_mustnot $NSENTER chown $UID2 $IDMAPDIR/subdir/file2
H A Didmap_mount_004.ksh67 log_must idmap_util -m "u:${UID1}:${UID2}:1" -m "g:${GID1}:${GID2}:1" $WORKDIR $IDMAPDIR
82 echo "${UID1} ${UID2} 1" > /proc/$unshared_pid/uid_map
H A Didmap_mount.cfg25 export UID2=2000000