mirror of
https://github.com/YunoHost-Apps/ntfy_ynh.git
synced 2024-09-03 19:46:27 +02:00
tune permissions
This commit is contained in:
parent
e5b3a856eb
commit
b82be35849
1 changed files with 1 additions and 3 deletions
|
@ -15,9 +15,7 @@ ntfy_setup_source() {
|
||||||
}
|
}
|
||||||
|
|
||||||
ntfy_fix_permissions() {
|
ntfy_fix_permissions() {
|
||||||
chmod o+w "$install_dir/data"
|
chmod -R 750 "$install_dir"
|
||||||
chmod 400 "$install_dir/server.yml"
|
|
||||||
chown $app:$app "$install_dir/server.yml"
|
|
||||||
chmod +x "$install_dir/ntfy.sh"
|
chmod +x "$install_dir/ntfy.sh"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue