1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dolibarr_ynh.git synced 2024-09-03 18:35:53 +02:00

change owner of dolibarr directory

This commit is contained in:
SiM 2020-10-28 22:05:27 +01:00
parent 638dfd5146
commit 821692ed13
3 changed files with 3 additions and 3 deletions

View file

@ -232,7 +232,7 @@ ynh_store_file_checksum --file="$final_path/htdocs/conf/conf.php"
#=================================================
# Set permissions on app files
chown -R root: "$final_path"
chown -R $app: "$final_path"
chmod 644 "$final_path/htdocs/conf/conf.php"
mkdir -p "$datadir"
chown -R $app: "$datadir"

View file

@ -106,7 +106,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
#=================================================
# Set permissions on app files
chown -R root: "$final_path"
chown -R $app: "$final_path"
chmod 644 "$final_path/htdocs/conf/conf.php"
mkdir -p "$datadir"
chown -R $app: "$datadir"

View file

@ -215,7 +215,7 @@ ynh_use_logrotate --non-append
#=================================================
# Set permissions on app files
chown -R root: "$final_path"
chown -R $app: "$final_path"
chmod 644 "$final_path/htdocs/conf/conf.php"
mkdir -p "$datadir"
chown -R $app: "$datadir"