--- builds_bin/rsync_sme 2010/08/18 14:49:19 1.5 +++ builds_bin/rsync_sme 2010/08/20 19:56:16 1.6 @@ -19,8 +19,9 @@ then fi ls /builds /releases /stage > /dev/null -find /builds/ /releases/ /stage/ -not -user releases -exec chown releases {} \+ -o -not -group releases -exec chgrp releases {} \+ +find /builds/ /releases/ /stage/ -not -user releases -exec chown releases {} \+ \ + , -not -group releases -exec chgrp releases {} \+ \ + , -type f -\( -not -perm -664 -o -perm -002 -\) -exec chmod u+rw,g+rw,o+r,o-w {} \+ \ + , -type d -\( -not -perm -2775 -o -perm -002 -\) -exec chmod u+rwx,g+rwxs,o+rx,o-w {} \+ chgrp updates $(ls -d /releases{/,/testing}/[0-9]/${prefix}updates-testing/i386/RPMS 2> /dev/null) chgrp contribs $(ls -d /releases{/,/testing}/[0-9]/${prefix}contribs/i386/RPMS 2> /dev/null) -find /builds/ /releases/ /stage/ -type f -\( -not -perm -664 -o -perm -002 -\) -print0 | xargs -r0 chmod u+rw,g+rw,o+r,o-w -find /builds/ /releases/ /stage/ -type d -\( -not -perm -2775 -o -perm -002 -\) -print0 | xargs -r0 chmod u+rwx,g+rwxs,o+rx,o-w