summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--selftest/target/Samba3.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 57ec1d8368..de87311ad2 100644
--- a/selftest/target/Samba3.pm
+++ b/selftest/target/Samba3.pm
@@ -452,16 +452,16 @@ sub provision($$$$$$)
## create ro and msdfs share layout
##
- chmod 755, $ro_shrdir;
+ chmod 0755, $ro_shrdir;
my $unreadable_file = "$ro_shrdir/unreadable_file";
open(UNREADABLE_FILE, ">$unreadable_file") or die("Unable to open $unreadable_file");
close(UNREADABLE_FILE);
- chmod 600, $unreadable_file;
+ chmod 0600, $unreadable_file;
my $msdfs_target = "$ro_shrdir/msdfs-target";
open(MSDFS_TARGET, ">$msdfs_target") or die("Unable to open $msdfs_target");
close(MSDFS_TARGET);
- chmod 666, $msdfs_target;
+ chmod 0666, $msdfs_target;
symlink "msdfs:$server_ip\\ro-tmp", "$msdfs_shrdir/msdfs-src1";
symlink "msdfs:$server_ip\\ro-tmp", "$msdfs_shrdir/deeppath/msdfs-src2";