+ /bin/ls -ldv -R acl > $cwd/tmp/org
+ /bin/runat $d/other 'cat bacula.test' > $cwd/tmp/attr.org
+ )
+ ;;
+ FreeBSD)
+ setfacl -m d:user:$uid:r-x $d/acl-dir
+ setfacl -m d:user:root:-wx $d/acl-dir
+ setfacl -m user:nobody:--- $d/acl-dir
+ setfacl -m user:nobody:--- $d/bconsole
+ setfacl -m group:nogroup:--x $d/bconsole
+ cp ${cwd}/bin/bconsole $d/acl-dir
+ cp ${cwd}/bin/bconsole $d/other
+ setextattr user bacula.test rulez $d/other 2>/dev/null 1>/dev/null
+
+ ( cd $cwd/build
+ for file in acl/*
+ do
+ getfacl $file
+ done > $cwd/tmp/org
+ getextattr user bacula.test $d/other > $cwd/tmp/attr.org
+ )
+ ;;
+ NetBSD)
+ cp ${cwd}/bin/bconsole $d/other
+ setextattr user bacula.test rulez $d/other 2>/dev/null 1>/dev/null
+
+ ( cd $cwd/build
+ cp /dev/null $cwd/tmp/org
+ getextattr user bacula.test $d/other > $cwd/tmp/attr.org