瀏覽代碼

file permission

Chris Vogel 1 年之前
父節點
當前提交
c34ed46550
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      scripts/install

+ 2 - 0
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"