1
0
Fork 0
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:
pp-r 2020-05-05 12:14:06 +02:00 committed by GitHub
parent 0216fc7861
commit ab331a6047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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