fcron: Fix reloading crontab

Message ID 20200205112334.20028-1-michael.tremer@ipfire.org
State Accepted
Commit e4a0b558815c07f934c135374cd077c2c0fabf0a
Headers
Series fcron: Fix reloading crontab |

Commit Message

Michael Tremer Feb. 5, 2020, 11:23 a.m. UTC
  fcrontab -z fails on a freshly installed system since
/var/spool/cron is now owned by cron:cron and a temporary
file cannot be created.

This will have to be manually changed in the updater by
calling:

  chown cron:cron /var/spool/cron

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/common/fcron | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/config/rootfiles/common/fcron b/config/rootfiles/common/fcron
index d37541b95..fb4410f4d 100644
--- a/config/rootfiles/common/fcron
+++ b/config/rootfiles/common/fcron
@@ -93,6 +93,6 @@  usr/sbin/fcron
 #usr/share/man/man5/fcron.conf.5
 #usr/share/man/man5/fcrontab.5
 #usr/share/man/man8/fcron.8
-#var/spool/cron
+var/spool/cron
 var/spool/cron/new.root
 var/spool/cron/root.orig