Index: trunk/tools/mwmultiversion/scripts/set-group-write2 |
— | — | @@ -0,0 +1,12 @@ |
| 2 | +#!/bin/bash
|
| 3 | +if [ $HOSTNAME == fenari ]; then
|
| 4 | + target2=/home/wikipedia/common/php-1.17
|
| 5 | + target3=/home/wikipedia/common/wmf-config
|
| 6 | +else
|
| 7 | + target2=/apache/common/php-1.17
|
| 8 | + target3=/apache/common/wmf-config
|
| 9 | +fi
|
| 10 | +
|
| 11 | +#find $target1 -group wikidev -not -perm -020 -exec chmod g+w '{}' ';'
|
| 12 | +find $target2 -group wikidev -not -perm -020 -exec chmod g+w '{}' ';'
|
| 13 | +find $target3 -group wikidev -not -perm -020 -exec chmod g+w '{}' ';'
|