[Xfce4-commits] <xfce-git-migration:master> use comma-separated modes to save some time

Brian J. Tarricone brian at tarricone.org
Thu Aug 13 03:24:01 CEST 2009


Updating branch refs/heads/master
         to 5884097234a60bc751b93b416ea6c5d27a3a59b7 (commit)
       from 8d562ac1a9c875e0ac4918f0bb7da165a442a778 (commit)

commit 5884097234a60bc751b93b416ea6c5d27a3a59b7
Author: Brian J. Tarricone <brian at tarricone.org>
Date:   Thu Aug 13 01:23:28 2009 +0000

    use comma-separated modes to save some time

 set-perms.sh |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/set-perms.sh b/set-perms.sh
index 5be642b..f0a3723 100755
--- a/set-perms.sh
+++ b/set-perms.sh
@@ -9,10 +9,8 @@ for d in *; do
     [ "$d" = "svn.old" ] && continue
 
     chown -R root:git-push $d
-    chmod -R a+r $d
-    chmod -R ug+w $d
-    find $d -type d | xargs chmod a+x
-    find $d -type d | xargs chmod g+s
+    chmod -R a+r,ug+w $d
+    find $d -type d | xargs chmod a+x,g+s
     setfacl -R -m d:g:git-push:rwx $d
 done
 



More information about the Xfce4-commits mailing list