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:
parent
dcf6abc9c5
commit
7850d16052
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue