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

Fix rights

This commit is contained in:
yalh76 2021-04-09 00:56:35 +02:00
parent 73bb96cf2c
commit 16b28a7bea
3 changed files with 3 additions and 6 deletions

View file

@ -108,8 +108,7 @@ ynh_setup_source --dest_dir="$final_path" --source_id="$architecture"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R root: "$final_path" chown -R root:$app "$final_path"
chown root:$app "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION

View file

@ -70,8 +70,7 @@ ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R root: "$final_path" chown -R root:$app "$final_path"
chown root:$app "$final_path"
#================================================= #=================================================
# SPECIFIC RESTORATION # SPECIFIC RESTORATION

View file

@ -152,8 +152,7 @@ fi
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R root: "$final_path" chown -R root:$app "$final_path"
chown root:$app "$final_path"
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION