1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ntfy_ynh.git synced 2024-09-03 19:46:27 +02:00

Fix even more permission issues

This commit is contained in:
Alexander Wühr 2023-02-24 15:39:12 +01:00
parent 526970fc8d
commit 06c7c27bc7
No known key found for this signature in database

View file

@ -9,9 +9,11 @@
#================================================= #=================================================
ntfy_setup_source() { ntfy_setup_source() {
ynh_setup_source -d "$install_dir" -s "$YNH_ARCH" ynh_setup_source -d "$install_dir" -s "$YNH_ARCH"
chown -R $app:$app "$install_dir"
ynh_secure_remove "$install_dir/client" ynh_secure_remove "$install_dir/client"
ynh_secure_remove "$install_dir/server" ynh_secure_remove "$install_dir/server"
mkdir -p "$install_dir/data" mkdir -p "$install_dir/data"
chmod -R 750 "$install_dir/data" chmod -R 750 "$install_dir/data"
} }