crontab -r deletes cron entries without asking for confirmation
Bug #1451286 reported by
Anonymous
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cron (Debian) |
New
|
Unknown
|
|||
cron (Ubuntu) |
Confirmed
|
High
|
Unassigned |
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.
Changed in cron (Ubuntu): | |
status: | New → Invalid |
Changed in cron (Debian): | |
status: | Unknown → New |
Changed in cron (Ubuntu): | |
importance: | Undecided → High |
To post a comment you must log in.
Hallo Anonymous,
there are a crontab for the system and a crontab for each user. You can make your entries to /etc/crontab and have to be root to edit and remove.
To save your "user" crontab I think you have to back it up.
Greets