1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/guacamole_ynh.git synced 2024-09-03 19:16:03 +02:00

Fix chown nobody

This commit is contained in:
tituspijean 2021-10-21 08:25:22 +02:00
parent dcf6abc9c5
commit 7850d16052
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 3 additions and 3 deletions

View file

@ -226,7 +226,7 @@ ynh_add_systemd_config --service="$app-tomcat" --template="tomcat.service"
#=================================================
# Set permissions to app files
chown -R nobody:nobody $final_path
chown -R nobody $final_path
chmod -R o-rwx $final_path
setfacl -n -R -m user:$app-guacd:rx -m default:user:$app-guacd:rx $final_path
setfacl -n -R -m user:$app-tomcat:rx -m default:user:$app-tomcat:rx $final_path

View file

@ -108,7 +108,7 @@ fi
#=================================================
# Restore permissions on app files
chown -R nobody:nobody $final_path
chown -R nobody $final_path
chmod -R o-rwx $final_path
setfacl -n -R -m user:$app-guacd:rx -m default:user:$app-guacd:rx $final_path
setfacl -n -R -m user:$app-tomcat:rx -m default:user:$app-tomcat:rx $final_path

View file

@ -201,7 +201,7 @@ ynh_add_systemd_config --service="$app-tomcat" --template="tomcat.service"
#=================================================
# Set permissions on app files
chown -R nobody:nobody $final_path
chown -R nobody $final_path
chmod -R o-rwx $final_path
setfacl -n -R -m user:$app-guacd:rx -m default:user:$app-guacd:rx $final_path
setfacl -n -R -m user:$app-tomcat:rx -m default:user:$app-tomcat:rx $final_path