[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] git: Bacula branch, master,
From:       "Kern Sibbald" <kerns () users ! sourceforge ! net>
Date:       2009-09-27 15:28:12
Message-ID: E1MrvfZ-0001Eu-GR () 9j8yhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Bacula".

The branch, master has been updated
       via  e2a6d39c181134c5a0941e4608d92ee7c5c6fbc9 (commit)
      from  f737d7e04886707153e3d44130bfa9efd22a879d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e2a6d39c181134c5a0941e4608d92ee7c5c6fbc9
Author: Marco van Wieringen <mvw@planets.elm.net>
Date:   Sun Sep 27 17:27:22 2009 +0200

    Make sure we use the right chmod for Solaris

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

Summary of changes:
diff --git a/regress/tests/acl-xattr-test b/regress/tests/acl-xattr-test
index 991fdc9..3a28ab2 100755
--- a/regress/tests/acl-xattr-test
+++ b/regress/tests/acl-xattr-test
@@ -101,24 +101,25 @@ case `uname -s` in
       #
       df -F zfs $d > /dev/null 2>&1
       if [ $? = 0 ]; then
-         chmod A+user:$uid:rx:allow $d/acl-dir
-         chmod A+user:root:wx:allow $d/acl-dir
-         chmod A+user:nobody:rwx:deny $d/acl-dir
-         chmod A+user:nobody:rwx:deny $d/bconsole
-         chmod A+group:nogroup:x:allow $d/bconsole
+         /bin/chmod A+user:$uid:rx:allow $d/acl-dir
+         /bin/chmod A+user:root:wx:allow $d/acl-dir
+         /bin/chmod A+user:nobody:rwx:deny $d/acl-dir
+         /bin/chmod A+user:nobody:rwx:deny $d/bconsole
+         /bin/chmod A+group:nogroup:x:allow $d/bconsole
       else
-         chmod A+user:$uid:r-x $d/acl-dir
-         chmod A+user:root:-wx $d/acl-dir
-         chmod A+user:nobody:--- $d/acl-dir
-         chmod A+user:nobody:--- $d/bconsole
-         chmod A+group:nogroup:--x $d/bconsole
+         /bin/chmod A+user:$uid:r-x $d/acl-dir
+         /bin/chmod A+user:root:-wx $d/acl-dir
+         /bin/chmod A+user:nobody:--- $d/acl-dir
+         /bin/chmod A+user:nobody:--- $d/bconsole
+         /bin/chmod A+group:nogroup:--x $d/bconsole
       fi
-      runat $d/other 'cat > bacula.test' << EOF
+      cp ${cwd}/bin/bconsole $d/other
+      /bin/runat $d/other 'cat > bacula.test' << EOF
 rulez
 EOF
       ( cd $cwd/build
-        ls -ldv -R acl > $cwd/tmp/org
-        runat $d/other 'cat bacula.test' > $cwd/tmp/attr.org
+        /bin/ls -ldv -R acl > $cwd/tmp/org
+        /bin/runat $d/other 'cat bacula.test' > $cwd/tmp/attr.org
       )
       ;;
 esac
@@ -167,8 +168,8 @@ case `uname -s` in
       ;;
    SunOS)
       ( cd $cwd/tmp/bacula-restores/$cwd/build
-        ls -ldv -R acl > $cwd/tmp/new
-        runat $d/other 'cat bacula.test' > $cwd/tmp/attr.new
+        /bin/ls -ldv -R acl > $cwd/tmp/new
+        /bin/runat $d/other 'cat bacula.test' > $cwd/tmp/attr.new
       )
       ;;
 esac


hooks/post-receive
-- 
Bacula

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic