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

Fix rights

This commit is contained in:
yalh76 2022-06-15 00:39:37 +02:00
parent 818c8fe059
commit 2e27bcc889
3 changed files with 7 additions and 7 deletions

View file

@ -119,7 +119,7 @@ ynh_script_progression --message="Configuring rights..."
# Create tmp required by Jeedom
mkdir -p /tmp/jeedom
chmod 750 -R /tmp/jeedom
chown www-data:www-data -R /tmp/jeedom
chown $app:www-data -R /tmp/jeedom
# For nginx user to be able to communicate with home automation devices
if [ $(getent group dialout) ]; then
@ -176,11 +176,11 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chmod 750 -R $final_path
chown -R www-data:www-data $final_path
chown -R $app:www-data $final_path
# Create tmp required by Jeedom
chmod 750 -R /tmp/jeedom
chown www-data:www-data -R /tmp/jeedom
chown $app:www-data -R /tmp/jeedom
#=================================================
# GENERIC FINALIZATION

View file

@ -97,7 +97,7 @@ ynh_script_progression --message="Configuring rights..."
# Create tmp required by Jeedom
mkdir -p /tmp/jeedom
chmod 750 -R /tmp/jeedom
chown www-data:www-data -R /tmp/jeedom
chown $app:www-data -R /tmp/jeedom
# For nginx user to be able to communicate with home automation devices
if [ $(getent group dialout) ]; then

View file

@ -124,7 +124,7 @@ ynh_script_progression --message="Configuring rights..."
# Create tmp required by Jeedom
mkdir -p /tmp/jeedom
chmod 750 -R /tmp/jeedom
chown www-data:www-data -R /tmp/jeedom
chown $app:www-data -R /tmp/jeedom
# For nginx user to be able to communicate with home automation devices
if [ $(getent group dialout) ]; then
@ -181,11 +181,11 @@ ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chmod 750 -R $final_path
chown -R www-data:www-data $final_path
chown -R $app:www-data $final_path
# Create tmp required by Jeedom
chmod 750 -R /tmp/jeedom
chown www-data:www-data -R /tmp/jeedom
chown $app:www-data -R /tmp/jeedom
#=================================================
# GENERIC FINALIZATION