summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-04 20:44:08 -0700
committerJeremy Allison <jra@samba.org>2012-06-05 06:25:31 +0200
commitf57ca68b1c26d2a93de4a6dc415817b7babcd87f (patch)
tree5cb83d8b0f2fa32c288f6cfaac46b25bf6937ca6 /selftest/target
parentacab34484718780dea8818ac0be5d6db78a06275 (diff)
downloadsamba-f57ca68b1c26d2a93de4a6dc415817b7babcd87f.tar.gz
samba-f57ca68b1c26d2a93de4a6dc415817b7babcd87f.tar.bz2
samba-f57ca68b1c26d2a93de4a6dc415817b7babcd87f.zip
Tests for bug #8972 - Add a posix_share definition to s4 so we can do raw posix permissions checks.
Diffstat (limited to 'selftest/target')
-rw-r--r--selftest/target/Samba4.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 97cdbf2ea8..954cf9c820 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -745,6 +745,14 @@ sub provision($$$$$$$$)
create mask = 777
force create mode = 777
+[posix_share]
+ path = $ctx->{share}
+ read only = no
+ create mask = 0777
+ force create mode = 0
+ directory mask = 0777
+ force directory mode = 0
+
[test1]
path = $ctx->{share}/test1
read only = no