mirror of
https://github.com/YunoHost-Apps/wallabag2_ynh.git
synced 2024-10-01 13:35:06 +02:00
Fix parameters.yml reading rights
Previously this sensitive file (database credentials, ...) was readable by anyone (rights value was 644)
This commit is contained in:
parent
5c76ddeb6c
commit
7f96f52076
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ ynh_replace_string "{DBNAME}" "${db_name}" "$wb_conf"
|
|||
ynh_replace_string "{DBUSER}" "${db_user}" "$wb_conf"
|
||||
ynh_replace_string "{DBPASS}" "${db_pwd}" "$wb_conf"
|
||||
ynh_replace_string "{DESKEY}" "${deskey}" "$wb_conf"
|
||||
# Restrict rights to Wallabag user only
|
||||
chmod 600 ../conf/parameters.yml
|
||||
|
||||
# Install files and set permissions
|
||||
sudo mv "$TMPDIR" "$final_path"
|
||||
|
|
Loading…
Add table
Reference in a new issue