1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/element_ynh.git synced 2024-09-03 18:36:08 +02:00
This commit is contained in:
Éric Gaspar 2023-02-19 11:26:38 +01:00
parent 8b7c7a230e
commit 6fad184112
3 changed files with 6 additions and 6 deletions

View file

@ -31,8 +31,8 @@ ynh_script_progression --message="Setting up source files..." --weight=4
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================

View file

@ -17,8 +17,8 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chmod 400 "$install_dir/config.json"
chown $app:$app "$install_dir/config.json"

View file

@ -43,8 +43,8 @@ then
ynh_setup_source --dest_dir="$install_dir" --keep="config.json"
fi
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================