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

Merge pull request #40 from SiM/change_owner

Change owner of dolibarr directory
This commit is contained in:
mastereur 2020-11-10 09:52:14 +01:00 committed by GitHub
commit 75a0652e01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"