2008-12-09 23:26:29 +03:00
|
|
|
#!/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 .
|
|
|
|
|
2009-01-24 00:29:38 +03:00
|
|
|
echo Setting all files to be group read/writable....
|
|
|
|
chmod -R g+rw .
|
2008-12-09 23:26:29 +03:00
|
|
|
|
2009-01-24 00:29:38 +03:00
|
|
|
echo Setting group "rwsx" perms on directories...
|
|
|
|
find . -type d -exec chmod g=rwsx {} \;
|
2008-12-09 23:26:29 +03:00
|
|
|
|
|
|
|
echo done
|
|
|
|
exit 0
|