Révision 9e84cfde
Ajouté par Julien Enselme il y a plus de 10 ans
bin/all-reset-permissions.sh | ||
---|---|---|
4 | 4 |
|
5 | 5 |
# This script puts the correct permissions to sites folders, settings.php and scripts. |
6 | 6 |
|
7 |
######### drupal 6 |
|
8 |
for dir in `find $d6_dir_sites -type d -maxdepth 1 -mindepth 1 ! -name all ! -name images ! -name languages` ; do |
|
9 |
chmod 755 $dir |
|
10 |
chmod 400 $dir/settings.php |
|
11 |
done |
|
12 |
|
|
13 | 7 |
######### drupal 7 |
14 | 8 |
for dir in `find $d7_dir_sites -type d -maxdepth 1 -mindepth 1 ! -name all` ; do |
15 | 9 |
chmod 755 $dir |
Formats disponibles : Unified diff
Deletion of Drupal 6