Hi everyone, for various reasons I put /var/spool/cron/crontabs under version control. I have one Ubuntu 12.04 legacy system running SVN 1.7.22 and recognized that after committing changes to the file for ROOT, it's permissions changed.
> 655748 4 -rw------- 1 root crontab 1597 Nov 24 10:09 root vs. > 655748 4 -rw-r--r-- 1 root crontab 1597 Nov 24 10:09 root This made CRON ignoring the file with the following message: > Nov 23 12:56:01 [...] cron[1346]: (root) INSECURE MODE (mode 0600 expected) > (crontabs/root) It was easy to fix this by re-running "crontab -e" and storing a new version of the file. But I needed a lot of time to find that problem in the logs. I don't see this behaviour with newer SVN clients in newer Ubuntus and don't have any similar old UB to test with. After looking into the settings of SVN, I couldn't find anything related to that as well. Though, I would have expected SVN to simply read the file during committing and nothing else. Especially as it doesn't contain any keywords or alike which SVN might substitue. Is that behaviour known to anybody? Might really the SVN client itself reset permissions for some reason? Is this somethign which can be disabled somewhere? Thanks! > root@[...]:/# ls -lisa /var/spool/cron/crontabs > insgesamt 16 > 655992 4 drwx-wx--T 3 root crontab 4096 Nov 24 10:38 . > 655990 4 drwxr-xr-x 5 root root 4096 Mär 26 2013 .. > 656754 4 -rw------- 1 root crontab 1597 Nov 24 10:38 root > 656533 4 drwxr-xr-x 4 root root 4096 Nov 24 10:38 .svn Mit freundlichen Grüßen Thorsten Schöning -- AM-SoFT IT-Service - Bitstore Hameln GmbH Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK E-Mail: thorsten.schoen...@am-soft.de Web: http://www.AM-SoFT.de/ Tel: 05151- 9468- 0 Tel: 05151- 9468-55 Fax: 05151- 9468-88 Mobil: 0178-8 9468-04 AM-SoFT IT-Service - Bitstore Hameln GmbH, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 221853 - Geschäftsführer: Janine Galonska