1
1

Add scripty-foo to set perms right on hg trees to share (at least on

milliways / www.open-mpi.org).

This commit was SVN r20095.
Этот коммит содержится в:
Jeff Squyres 2008-12-09 20:26:29 +00:00
родитель affbebb15b
Коммит 3950796fa8

18
contrib/hg/set-hg-share-perms.csh Исполняемый файл
Просмотреть файл

@ -0,0 +1,18 @@
#!/bin/csh -f
if (! -d .hg) then
echo "Not in top-level HG repository dir"
exit 1
endif
echo Setting group to openmpi...
chgrp -R openmpi .
echo Setting all files to be group writable....
chmod -R g+w .
echo Setting group "s" perms on directories...
find . -type d -exec chmod g+ws {}
echo done
exit 0