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.
Этот коммит содержится в:
родитель
affbebb15b
Коммит
3950796fa8
18
contrib/hg/set-hg-share-perms.csh
Исполняемый файл
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
|
Загрузка…
x
Ссылка в новой задаче
Block a user