[Bug 1451286] Re: crontab -r deletes cron entries without asking for confirmation

Eugene Savitsky 1451286 at bugs.launchpad.net
Fri May 21 11:13:55 UTC 2021


Just accidentally hit it.... Very big crontab. Thanks God I just
yesterday made a backup.

www at weare:/home/eugene$ crontab -r
www at weare:/home/eugene$ crontab -e
no crontab for oxwww - using an empty one
No modification made

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cron in Ubuntu.
https://bugs.launchpad.net/bugs/1451286

Title:
  crontab -r deletes cron entries without asking for confirmation

Status in cron package in Ubuntu:
  Confirmed
Status in cron package in Debian:
  New

Bug description:
  type: crontab -r

  Expected use case : should ask user if they really want to delete this
  file, of which there are no backups on the system by default, and may
  take hours to restore by hand, if it's even possible.

  what happens: user's cron entry is deleted with no warning.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1451286/+subscriptions



More information about the foundations-bugs mailing list