mirror of
https://github.com/YunoHost-Apps/monitorix_ynh.git
synced 2024-09-03 19:46:06 +02:00
Fix permissions
This commit is contained in:
parent
90934700a4
commit
f00f924348
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ set_permission() {
|
|||
chmod u=rwx,g=rx,o= "$data_dir"
|
||||
chown "$app":www-data "$data_dir"
|
||||
|
||||
chmod u=rwx,g=rx,o= "$data_dir"/*.rrd || true
|
||||
chmod u=rw,g=r,o= "$data_dir"/*.rrd || true
|
||||
chown "$app":root "$data_dir"/*.rrd || true
|
||||
find "$data_dir"/{reports,usage} \( \! -perm -o= \
|
||||
-o \! -user "$app" \
|
||||
|
|
Loading…
Reference in a new issue