[Bug 1451286] Re: crontab -r deletes cron entries without asking for confirmation
Terence Eden
1451286 at bugs.launchpad.net
Sat Jul 27 19:53:13 UTC 2019
Here's a whole bunch of people who have accidentally run `-r` when they
meant `e` (including me!)
* https://twitter.com/search?q=crontab%20e%20r&src=typed_query
* https://stackoverflow.com/questions/37852940/how-recover-deleted-crontab-r-option
* https://www.reddit.com/r/linux/comments/5h1bh5/psa_do_not_type_crontab_r_when_you_mean_crontab_e/
* https://b3z13r.wordpress.com/2011/02/09/how-to-rebuild-crontab-from-scratch-after-accidentally-typing-crontab-r/
Please can someone to implement the attached patch.
--
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