summaryrefslogtreecommitdiff
path: root/source3/script/tests/vfstest-acl
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-16 16:50:47 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-17 02:35:49 +0200
commit6b7a99107d956651fae43a7e62d1fbf69d97d0c7 (patch)
treeb356d2832324906e4890d66285e6fb9e4d377645 /source3/script/tests/vfstest-acl
parent5251d07e625d945f90b746d4dabcfe6d98cc5d89 (diff)
downloadsamba-6b7a99107d956651fae43a7e62d1fbf69d97d0c7.tar.gz
samba-6b7a99107d956651fae43a7e62d1fbf69d97d0c7.tar.bz2
samba-6b7a99107d956651fae43a7e62d1fbf69d97d0c7.zip
s3-torture: Allow vfstest to set ACLs on a directory
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 02:35:49 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/script/tests/vfstest-acl')
-rw-r--r--source3/script/tests/vfstest-acl/vfstest.cmd9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/script/tests/vfstest-acl/vfstest.cmd b/source3/script/tests/vfstest-acl/vfstest.cmd
index 19f5fd6900..61686717ec 100644
--- a/source3/script/tests/vfstest-acl/vfstest.cmd
+++ b/source3/script/tests/vfstest-acl/vfstest.cmd
@@ -1,6 +1,15 @@
connect
open x RC 0700
+sys_acl_get_file . 0
+sys_acl_get_file . 1
+get_nt_acl .
+set_nt_acl . G:DAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
+get_nt_acl .
+sys_acl_get_file . 0
+sys_acl_get_file . 1
get_nt_acl x
+sys_acl_get_file x 0
set_nt_acl x G:DAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
get_nt_acl x
sys_acl_get_file x 0
+