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:
parent
5d1632b381
commit
31e4362d47
3 changed files with 7 additions and 4 deletions
|
@ -148,8 +148,9 @@ ynh_store_file_checksum "$final_path/.env"
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
chmod -R 750 $final_path/bootstrap/cache
|
||||||
chown -R $app: $public_path
|
chown -R $app: $public_path
|
||||||
chmod -R 755 $public_path
|
chmod -R 750 $public_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
|
|
|
@ -75,8 +75,9 @@ ynh_restore_file --origin_path="$public_path" --not_mandatory
|
||||||
# RESTORE USER RIGHTS
|
# RESTORE USER RIGHTS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Restore permissions on app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
chmod -R 750 $final_path/bootstrap/cache
|
||||||
chown -R $app: $public_path
|
chown -R $app: $public_path
|
||||||
chmod -R 750 $public_path
|
chmod -R 750 $public_path
|
||||||
|
|
||||||
|
|
|
@ -178,9 +178,10 @@ fi
|
||||||
# SECURE FILES AND DIRECTORIES
|
# SECURE FILES AND DIRECTORIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Set permissions on app files
|
# Set permissions to app files
|
||||||
chown -R $app: $final_path
|
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
|
chmod -R 750 $public_path
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue