+ SunOS)
+ #
+ # See if we need to set ZFS or POSIX acls
+ #
+ df -F zfs $d > /dev/null 2>&1
+ if [ $? = 0 ]; then
+ chmod A+user:$uid:rx:allow $d/testdir
+ chmod A+user:root:wx:allow $d/testdir
+ chmod A+user:nobody:rwx:deny $d/testdir
+ chmod A+user:nobody:rwx:deny $d/bconsole
+ chmod A+group:nogroup:x:allow $d/bconsole
+ else
+ chmod A+user:$uid:r-x $d/testdir
+ chmod A+user:root:-wx $d/testdir
+ chmod A+user:nobody:--- $d/testdir
+ chmod A+user:nobody:--- $d/bconsole
+ chmod A+group:nogroup:--x $d/bconsole
+ fi
+ runat $d/other 'cat > bacula.test' << EOF
+rulez
+EOF
+ ( cd $cwd/build
+ ls -ldv -R acl > $cwd/tmp/org
+ runat $d/other 'cat bacula.test' > $cwd/tmp/attr.org
+ )
+ ;;