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

Fix boostrap/cach permissions

This commit is contained in:
ericgaspar 2021-04-10 18:17:25 +02:00
parent 5d1632b381
commit 31e4362d47
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 7 additions and 4 deletions

View file

@ -148,8 +148,9 @@ ynh_store_file_checksum "$final_path/.env"
# Set permissions to app files
chown -R $app: $final_path
chmod -R 750 $final_path/bootstrap/cache
chown -R $app: $public_path
chmod -R 755 $public_path
chmod -R 750 $public_path
#=================================================
# SETUP SSOWAT

View file

@ -75,8 +75,9 @@ ynh_restore_file --origin_path="$public_path" --not_mandatory
# RESTORE USER RIGHTS
#=================================================
# Restore permissions on app files
# Set permissions to app files
chown -R $app: $final_path
chmod -R 750 $final_path/bootstrap/cache
chown -R $app: $public_path
chmod -R 750 $public_path

View file

@ -178,9 +178,10 @@ fi
# SECURE FILES AND DIRECTORIES
#=================================================
# Set permissions on app files
# Set permissions to app files
chown -R $app: $final_path
#chown -R $app: $public_path
chmod -R 750 $final_path/bootstrap/cache
chown -R $app: $public_path
chmod -R 750 $public_path
#=================================================