1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00
This commit is contained in:
ericgaspar 2021-04-21 19:33:10 +02:00
parent d469329a0e
commit 6b2512314b
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 2 additions and 8 deletions

View file

@ -137,9 +137,7 @@ ynh_permission_update --permission="main" --remove="visitors"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app:$app $final_path chown -R $app: $final_path
chown -R www-data:www-data $final_path/writable
chown -R www-data:www-data $final_path/public/media
chmod 600 $final_path/.env chmod 600 $final_path/.env
#================================================= #=================================================

View file

@ -73,8 +73,6 @@ ynh_restore_file --origin_path="$final_path"
# Set permissions to app files # Set permissions to app files
chown -R $app:$app $final_path chown -R $app:$app $final_path
chown -R www-data:www-data $final_path/writable
chown -R www-data:www-data $final_path/public/media
chmod 600 $final_path/.env chmod 600 $final_path/.env
#================================================= #=================================================

View file

@ -125,9 +125,7 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
#================================================= #=================================================
# Set permissions to app files # Set permissions to app files
chown -R $app:$app $final_path chown -R $app: $final_path
chown -R www-data:www-data $final_path/writable
chown -R www-data:www-data $final_path/public/media
chmod 600 $final_path/.env chmod 600 $final_path/.env
#================================================= #=================================================