19 |
fi |
fi |
20 |
|
|
21 |
ls /builds /releases /stage > /dev/null |
ls /builds /releases /stage > /dev/null |
22 |
find /builds/ /releases/ /stage/ -not -user releases -exec chown releases {} \+ \ |
find /builds/ /releases/ /stage/ -not -user releases -exec chown -h releases {} \+ \ |
23 |
, -not -group releases -exec chgrp releases {} \+ \ |
, -not -group releases -exec chgrp -h releases {} \+ \ |
24 |
, -type f -\( -not -perm -664 -o -perm -002 -\) -exec chmod u+rw,g+rw,o+r,o-w {} \+ \ |
, -type f -\( -not -perm -664 -o -perm -002 -\) -exec chmod u+rw,g+rw,o+r,o-w {} \+ \ |
25 |
, -type d -\( -not -perm -2775 -o -perm -002 -\) -exec chmod u+rwx,g+rwxs,o+rx,o-w {} \+ |
, -type d -\( -not -perm -2775 -o -perm -002 -\) -exec chmod u+rwx,g+rwxs,o+rx,o-w {} \+ |
26 |
chgrp updates $(ls -d /releases{/,/testing}/[0-9]/${prefix}updates-testing/i386/RPMS 2> /dev/null) |
chgrp updates $(ls -d /releases{/,/testing}/[0-9]/${prefix}updates-testing/i386/RPMS 2> /dev/null) |