Révision 683f57f9
Ajouté par Julien Enselme il y a plus de 10 ans
bin/all-reset-permissions.sh | ||
---|---|---|
5 | 5 |
# This script puts the correct permissions to sites folders, settings.php and scripts. |
6 | 6 |
|
7 | 7 |
######### drupal 7 |
8 |
for dir in `find $d7_dir_sites -type d -maxdepth 1 -mindepth 1 ! -name all` ; do
|
|
8 |
for dir in $(find $d7_dir_sites -type d -maxdepth 1 -mindepth 1 ! -name all) ; do
|
|
9 | 9 |
chmod 755 $dir |
10 | 10 |
chmod 400 $dir/settings.php |
11 | 11 |
chmod 400 $dir/settings.local.php |
Formats disponibles : Unified diff
Uniformisation: from
cmd
to $(cmd).