projets
/
progfou.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
wcs-dynexport : intégration du basculement vers PostgreSQL (suite)
[progfou.git]
/
sysadmin
/
correction-droits-partage
1
#!/bin/sh
2
DIR="/srv/partage"
3
GROUP="partage"
4
5
chgrp -hR "${GROUP}" "${DIR}"/
6
find "${DIR}"/ \
7
\( -type d -not -perm 2770 -exec chmod ug=rwx,g+s,o= "{}" \; \) , \
8
\( -type f -not -perm 0660 -exec chmod ug=rw,o= "{}" \; \)