1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xwiki_ynh.git synced 2024-09-03 20:36:11 +02:00
This commit is contained in:
Éric Gaspar 2023-04-09 23:51:43 +02:00
parent 3c0043ed1b
commit 6c187d8b16
3 changed files with 4 additions and 1 deletions

View file

@ -19,6 +19,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/start_xwiki.sh"

View file

@ -26,7 +26,7 @@ ynh_script_progression --message="Restoring the data directory..." --weight=1
ynh_restore_file --origin_path="$data_dir" --not_mandatory
# (Same as for install dir)
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$data_dir"
#=================================================

View file

@ -32,7 +32,9 @@ then
ynh_setup_source --dest_dir="$install_dir" --keep ="xwiki_env"
fi
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod +x "$install_dir/start_xwiki.sh"
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS