mirror of
https://github.com/YunoHost-Apps/zwiicms_ynh.git
synced 2024-09-03 18:06:04 +02:00
add chown user final_path
This commit is contained in:
parent
0216fc7861
commit
ab331a6047
1 changed files with 2 additions and 0 deletions
|
@ -268,6 +268,8 @@ ynh_store_file_checksum --file="$final_path/CONFIG_FILE"
|
||||||
### Then, if write authorization is needed, any access should be given only to directories
|
### Then, if write authorization is needed, any access should be given only to directories
|
||||||
### that really need such authorization.
|
### that really need such authorization.
|
||||||
|
|
||||||
|
chown -R $user: "$final_path"
|
||||||
|
|
||||||
# Set permissions to app files
|
# Set permissions to app files
|
||||||
chown -R root: $final_path
|
chown -R root: $final_path
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue