mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
Fix perm
This commit is contained in:
parent
d469329a0e
commit
6b2512314b
3 changed files with 2 additions and 8 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue