mirror of
https://github.com/YunoHost-Apps/my_webapp_ynh.git
synced 2024-09-03 19:46:26 +02:00
Fix permissions during upgrade
This commit is contained in:
parent
0148b45f08
commit
1c9315c9d8
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ fi
|
||||||
# SECURE FILES AND DIRECTORIES
|
# SECURE FILES AND DIRECTORIES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
chown -R $app: "$final_path"
|
||||||
# Home directory of the user needs to be owned by root to allow
|
# Home directory of the user needs to be owned by root to allow
|
||||||
# SFTP connections
|
# SFTP connections
|
||||||
chown root: "$final_path"
|
chown root: "$final_path"
|
||||||
|
|
Loading…
Add table
Reference in a new issue