From 3fbcc4a4c7538468768fbf4ea90499f72550edff Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 21 Nov 2016 10:19:21 +0100 Subject: [PATCH] More ACL testing --- dev/tests/run_tests.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 6130547..ff45373 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -228,18 +228,19 @@ function oneTimeSetUp () { echo "Running with $OSYNC_VERSION ($OSYNC_MIN_VERSION) STABLE=$OSYNC_IS_STABLE" # This will make travis fail because of missing stuff - touch fic - $SUDO_CMD chattr +i fic + df + sudo touch /file + $SUDO_CMD chattr +i /file echo "1" - $SUDO_CMD setfacl -m o::rwx fic + $SUDO_CMD setfacl -m o::rwx /file echo "2" - sudo setfacl -m o::rwx fic + sudo setfacl -m o::rwx /file echo "3" - sudo setfacl -m o:rwx fic + sudo setfacl -m o:rwx /file echo "4" sudo mount -o remount,acl / echo "5" - sudo setfacl -m o:rwx fic + sudo setfacl -m o:rwx /file echo "6" getfacl fic exit