1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simple-torrent_ynh.git synced 2024-09-03 20:26:18 +02:00
This commit is contained in:
Éric Gaspar 2023-02-18 18:18:02 +01:00
parent 87ce4467ef
commit 6e305ff9aa
3 changed files with 6 additions and 0 deletions

View file

@ -22,6 +22,8 @@ pushd "$install_dir"
mv $YNH_ARCH $app
popd
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod +x $install_dir/$app

View file

@ -16,6 +16,8 @@ ynh_script_progression --message="Restoring $app main directory..." --weight=4
ynh_restore_file --origin_path="$install_dir"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod +x $install_dir/$app

View file

@ -41,6 +41,8 @@ then
popd
fi
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chmod +x $install_dir/$app