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

Update scripts/upgrade

Co-Authored-By: Kayou <pierre.moltess@gmail.com>
This commit is contained in:
mastereur 2019-06-29 10:41:24 +02:00 committed by GitHub
parent 97dd4a3eec
commit 856077b230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,6 +193,7 @@ ynh_use_logrotate --non-append
# Set permissions to app files # Set permissions to app files
chown -R root "$final_path" chown -R root "$final_path"
chmod 644 "$final_path/htdocs/conf/conf.php" chmod 644 "$final_path/htdocs/conf/conf.php"
mkdir -p "$datadir"
chown -R $app "$datadir" chown -R $app "$datadir"
chmod go-w $datadir chmod go-w $datadir