filter out some host-specific information from pushd/popd.

This commit is contained in:
Nathan Scott
2001-07-23 22:06:20 +00:00
parent 3499b4ac9d
commit 3dc2e58dd8
2 changed files with 2 additions and 5 deletions
+2 -2
View File
@@ -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
-3
View File
@@ -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]