From c34ed46550d456fd9f827fa975f7b3e2a02436fd Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Sat, 20 Apr 2024 22:03:47 +0200 Subject: [PATCH] file permission --- scripts/install | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 4e56a6c..4d18fb6 100755 --- a/scripts/install +++ b/scripts/install @@ -50,6 +50,8 @@ ynh_install_extra_app_dependencies \ ynh_script_progression --message="Adding a configuration file..." --weight=2 # customize couchdb config ynh_add_config --template="../conf/5-flohmarkt.ini" --destination="/opt/couchdb/etc/local.d/5-flohmarkt.ini" +chown root:couchdb /opt/couchdb/etc/local.d/5-flohmarkt.ini +chmod 640 /opt/couchdb/etc/local.d/5-flohmarkt.ini # @@ todo need to create a couchdb user and set the files to be readable/executable by it chmod 750 "$install_dir"