diff options
author | Günther Deschner <gd@samba.org> | 2010-05-29 00:38:21 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-29 00:38:21 +0200 |
commit | a8d308faff760ee56f7aa4a97ccaab60bf965849 (patch) | |
tree | 7d76323fb18c4e70f5ec5673254f23b7792f92de /selftest | |
parent | 5232ce56cd3edef17166da8b61e9be6d3ec967e3 (diff) | |
download | samba-a8d308faff760ee56f7aa4a97ccaab60bf965849.tar.gz samba-a8d308faff760ee56f7aa4a97ccaab60bf965849.tar.bz2 samba-a8d308faff760ee56f7aa4a97ccaab60bf965849.zip |
s3-selftest: fix chmod commands in provisioning.
Guenther
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/target/Samba3.pm | 6 |
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"; |