Submitted by Reflex14 on Fri, 02/16/2018 - 07:52
When I create a cronjob for a user, the cronjob is successfully created at : /var/spool/cron/crontabs/myuser
But the ownership is wrong, it should be: -rw------- 1 myuser crontab 536 Dec 21 14:25 myuser
But it is created with root as user: -rw-r--r-- 1 root root 324 Jan 23 15:00 myuser
At this point, new created cronjobs don't work anymore.
Webmin versie 1.872 Usermin Versie 1.734 Virtualmin versie 6.02
This problem came from one of the updates since January this year, I think.
Status:
Active
Comments
Submitted by JamieCameron on Fri, 02/16/2018 - 23:37 Comment #1
That's very odd, as Webmin just calls the
crontab
command to create the file.If you SSH in as
root
and runcrontab -e -u XXX
whereXXX
is some user who doesn't have a crontab yet, what ownership does the new file have?