1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

fix url files

This commit is contained in:
Robles Rodolphe 2021-05-10 17:18:41 +02:00
parent 8b4e6f2629
commit 015c70b356
2 changed files with 2 additions and 2 deletions

View file

@ -86,7 +86,7 @@ ynh_add_fpm_config --phpversion=$YNH_PHP_VERSION --package="$extra_php_dependenc
#=================================================
chown -R $app:$app $final_path
chmod 400 config.dist.php config.local.php index.php sous-domaine.html VERSION
chmod 400 $final_path/config.dist.php $final_path/config.local.php $final_path/index.php $final_path/sous-domaine.html $final_path/VERSION
find $final_path/scripts -type d -exec chmod 500 {} +
find $final_path/scripts -type f -exec chmod 400 {} +
find $final_path/templates -type d -exec chmod 500 {} +

View file

@ -207,7 +207,7 @@ fi
# Set permissions on app files
chown -R $app:$app $final_path
chmod 400 config.dist.php config.local.php index.php sous-domaine.html VERSION
chmod 400 $final_path/config.dist.php $final_path/config.local.php $final_path/index.php $final_path/sous-domaine.html $final_path/VERSION
find $final_path/scripts -type d -exec chmod 500 {} +
find $final_path/scripts -type f -exec chmod 400 {} +
find $final_path/templates -type d -exec chmod 500 {} +