More ACL testing

This commit is contained in:
deajan 2016-11-21 10:19:21 +01:00
parent c74078d122
commit 3fbcc4a4c7
1 changed files with 7 additions and 6 deletions

View File

@ -228,18 +228,19 @@ function oneTimeSetUp () {
echo "Running with $OSYNC_VERSION ($OSYNC_MIN_VERSION) STABLE=$OSYNC_IS_STABLE" echo "Running with $OSYNC_VERSION ($OSYNC_MIN_VERSION) STABLE=$OSYNC_IS_STABLE"
# This will make travis fail because of missing stuff # This will make travis fail because of missing stuff
touch fic df
$SUDO_CMD chattr +i fic sudo touch /file
$SUDO_CMD chattr +i /file
echo "1" echo "1"
$SUDO_CMD setfacl -m o::rwx fic $SUDO_CMD setfacl -m o::rwx /file
echo "2" echo "2"
sudo setfacl -m o::rwx fic sudo setfacl -m o::rwx /file
echo "3" echo "3"
sudo setfacl -m o:rwx fic sudo setfacl -m o:rwx /file
echo "4" echo "4"
sudo mount -o remount,acl / sudo mount -o remount,acl /
echo "5" echo "5"
sudo setfacl -m o:rwx fic sudo setfacl -m o:rwx /file
echo "6" echo "6"
getfacl fic getfacl fic
exit exit