aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/nextcloud.logrotate
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2018-10-10 18:19:19 +0200
committerJakub Jirutka <jakub@jirutka.cz>2018-10-10 18:25:47 +0200
commit6a8f52d1cf9e74c8ef8a393ae5a7e05b236fbcda (patch)
tree662f1b203880494d6056ce6759cf5d632da711ff /community/nextcloud/nextcloud.logrotate
parentb4bede3f03bd3a2a5b79eaa232ec94aee523cea7 (diff)
downloadaports-6a8f52d1cf9e74c8ef8a393ae5a7e05b236fbcda.tar.bz2
aports-6a8f52d1cf9e74c8ef8a393ae5a7e05b236fbcda.tar.xz
community/nextcloud: fix logrotate config
error: skipping "/var/log/nextcloud/nextcloud.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
Diffstat (limited to 'community/nextcloud/nextcloud.logrotate')
-rw-r--r--community/nextcloud/nextcloud.logrotate1
1 files changed, 1 insertions, 0 deletions
diff --git a/community/nextcloud/nextcloud.logrotate b/community/nextcloud/nextcloud.logrotate
index c5981ccb88..363143bf4c 100644
--- a/community/nextcloud/nextcloud.logrotate
+++ b/community/nextcloud/nextcloud.logrotate
@@ -3,4 +3,5 @@
rotate 7
compress
copytruncate
+ su nextcloud www-data
}