On 20/06/2019 12.56, Per Jessen wrote:
Dave Howorth wrote:
Sounds most likely to be a bug in your editor - jstar? I would try say nano
I get nano by default, but no doubt there is a config option somewhere.
The editor is jstar because I have the enviroment variable: Legolas:~ # set | grep -i editor EDITOR=/usr/bin/jstar No, there is no bug in jstar. jstar creates a backup file automatically. The name is provided by systemd. The command "crontab -e" edits the crontab file, and there is no issue with random backups, so the bug is in systemd: Legolas:~ # crontab -e ... File /tmp/crontab.p1XWIq saved crontab: installing new crontab Legolas:~ # l /tmp/crontab.p1XWIq ls: cannot access '/tmp/crontab.p1XWIq': No such file or directory Legolas:~ # l /tmp/crontab* -rw------- 1 root root 0 Jan 1 1970 /tmp/crontab.p1XWIq~ Legolas:~ # But it is in /tmp, where it can be easily purged periodically. Legolas:~ # l /var/spool/cron/tabs/ total 12 drwx------ 2 root root 4096 Jun 20 13:45 ./ drwx------ 4 root root 4096 Jun 17 2018 ../ -rw------- 1 root root 144 Jun 20 13:45 root Legolas:~ # -- Cheers / Saludos, Carlos E. R. (from 15.0 x86_64 at Telcontar)