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

Fix rights

This commit is contained in:
yalh76 2022-03-21 20:00:54 +01:00
parent 4d0529fb4a
commit 6b1a8338d8
2 changed files with 4 additions and 2 deletions

View file

@ -214,8 +214,8 @@ then
timezone=$(cat /etc/timezone) timezone=$(cat /etc/timezone)
ynh_add_config --template="../conf/config.js" --destination="$final_path/infcloud/config.js" ynh_add_config --template="../conf/config.js" --destination="$final_path/infcloud/config.js"
chmod 400 "$final_path/infcloud/config.js" chmod 440 "$final_path/infcloud/config.js"
chown $app:$app "$final_path/infcloud/config.js" chown $app:www-data "$final_path/infcloud/config.js"
fi fi
#================================================= #=================================================

View file

@ -324,6 +324,8 @@ then
fi fi
# Recalculate and store the checksum of the file for the next upgrade. # Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum --file="$final_path/infcloud/config.js" ynh_store_file_checksum --file="$final_path/infcloud/config.js"
chmod 440 "$final_path/infcloud/config.js"
chown $app:www-data "$final_path/infcloud/config.js"
fi fi
fi fi