The branch, master has been updated
       via  a8d308f... s3-selftest: fix chmod commands in provisioning.
      from  5232ce5... s3-selftest: make sure provisioned s3 looks the same in 
make selftest as in make test.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a8d308faff760ee56f7aa4a97ccaab60bf965849
Author: Günther Deschner <g...@samba.org>
Date:   Sat May 29 00:38:21 2010 +0200

    s3-selftest: fix chmod commands in provisioning.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 selftest/target/Samba3.pm |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm
index 57ec1d8..de87311 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";
 


-- 
Samba Shared Repository

Reply via email to