1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00

add permissions

This commit is contained in:
ericgaspar 2021-04-21 15:32:01 +02:00
parent 2fe45ced10
commit d469329a0e
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 0 deletions

View file

@ -138,6 +138,8 @@ ynh_permission_update --permission="main" --remove="visitors"
# Set permissions to app files
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
#=================================================

View file

@ -73,6 +73,8 @@ ynh_restore_file --origin_path="$final_path"
# Set permissions to app files
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
#=================================================

View file

@ -126,6 +126,8 @@ ynh_add_config --template="../conf/cron" --destination="/etc/cron.d/$app"
# Set permissions to app files
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
#=================================================