mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
filter out some host-specific information from pushd/popd.
This commit is contained in:
@@ -304,7 +304,7 @@ echo ""
|
|||||||
echo "=== Recursive change ACL ==="
|
echo "=== Recursive change ACL ==="
|
||||||
rm -fr root
|
rm -fr root
|
||||||
mkdir root
|
mkdir root
|
||||||
pushd root
|
pushd root >/dev/null
|
||||||
# create an arbitrary little tree
|
# create an arbitrary little tree
|
||||||
for i in 1 2 3 4 5 6 7 8 9 0
|
for i in 1 2 3 4 5 6 7 8 9 0
|
||||||
do
|
do
|
||||||
@@ -312,7 +312,7 @@ do
|
|||||||
mkdir -p b/c$i/$i
|
mkdir -p b/c$i/$i
|
||||||
touch a/$i/mumble
|
touch a/$i/mumble
|
||||||
done
|
done
|
||||||
popd
|
popd >/dev/null
|
||||||
chown -R 12345.54321 root
|
chown -R 12345.54321 root
|
||||||
echo "Change #1..."
|
echo "Change #1..."
|
||||||
$runas -u 12345 -g 54321 -- /bin/chacl -r u::rwx,g::-w-,o::--x root
|
$runas -u 12345 -g 54321 -- /bin/chacl -r u::rwx,g::-w-,o::--x root
|
||||||
|
|||||||
@@ -106,9 +106,6 @@ acldir []
|
|||||||
acldir/file2 []
|
acldir/file2 []
|
||||||
|
|
||||||
=== Recursive change ACL ===
|
=== Recursive change ACL ===
|
||||||
/mnt/test/051.dir1/root /mnt/test/051.dir1
|
|
||||||
/mnt/test/051.dir1/root
|
|
||||||
/mnt/test/051.dir1
|
|
||||||
Change #1...
|
Change #1...
|
||||||
root [u::rwx,g::-w-,o::--x]
|
root [u::rwx,g::-w-,o::--x]
|
||||||
root/a [u::rwx,g::-w-,o::--x]
|
root/a [u::rwx,g::-w-,o::--x]
|
||||||
|
|||||||
Reference in New Issue
Block a user