mirror of
https://github.com/YunoHost-Apps/drupal_ynh.git
synced 2024-09-03 18:35:53 +02:00
Fix chmod
This commit is contained in:
parent
c90c37161e
commit
34111f65ff
3 changed files with 5 additions and 5 deletions
|
@ -96,7 +96,7 @@ ynh_setup_source --dest_dir="$final_path"
|
|||
|
||||
mkdir -p "$final_path/$app"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
|
@ -151,7 +151,7 @@ export PATH="$final_path/vendor/bin:$PATH"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing Drupal..."
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ ynh_script_progression --message="Restoring the app main directory..."
|
|||
|
||||
ynh_restore_file --origin_path="$final_path"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ then
|
|||
mkdir -p "$final_path/$app"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
|
@ -131,7 +131,7 @@ ynh_script_progression --message="Upgrading Drupal..."
|
|||
|
||||
ynh_backup_if_checksum_is_different --file="$final_path/$app/sites/default/settings.php"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue