From 160278bb9f3a56466d04605eb34278a483c0901c Mon Sep 17 00:00:00 2001 From: tuxmouraille Date: Tue, 9 Oct 2018 09:59:37 +0200 Subject: [PATCH] change logrotate attr to 644 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Suite à ce mail: /etc/cron.daily/logrotate: error: Ignoring syncthing because of bad file mode - must be 0644 or 0444. --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 2867667..dbaf09e 100644 --- a/scripts/install +++ b/scripts/install @@ -77,7 +77,7 @@ sudo systemctl start syncthing@$SYNCUSER.service if [ -d "/etc/logrotate.d" ]; then sed -i "s@SYNCUSER@$SYNCUSER@g" ../conf/logrotate.conf sudo cp ../conf/logrotate.conf /etc/logrotate.d/syncthing - sudo chmod 0755 /etc/logrotate.d/syncthing + sudo chmod 0644 /etc/logrotate.d/syncthing fi # Configure Nginx