mirror of
https://github.com/YunoHost-Apps/flohmarkt_ynh.git
synced 2024-09-03 18:36:30 +02:00
file permission
This commit is contained in:
parent
41a989bb7b
commit
c34ed46550
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ ynh_install_extra_app_dependencies \
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=2
|
ynh_script_progression --message="Adding a configuration file..." --weight=2
|
||||||
# customize couchdb config
|
# customize couchdb config
|
||||||
ynh_add_config --template="../conf/5-flohmarkt.ini" --destination="/opt/couchdb/etc/local.d/5-flohmarkt.ini"
|
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
|
# @@ todo need to create a couchdb user and set the files to be readable/executable by it
|
||||||
chmod 750 "$install_dir"
|
chmod 750 "$install_dir"
|
||||||
|
|
Loading…
Reference in a new issue