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

2024-02-16 Thread Georges Khaznadar
this bug is fixed for a long time, in Debian. Closing the bug report

** Changed in: cron (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: cron (Ubuntu)
 Assignee: (unassigned) => Georges Khaznadar (georgesk)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Fix Released
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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2024-02-06 Thread Vasil Sarbinsky
Just accidentally hit it on a production machine :/ Recreated the cron
config using the system logs.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2021-05-21 Thread Anonymous
Hasn't this been fixed and pushed into repos yet? I thought it was a
confirmed bug with an easy fix? I'd like to see this fix backported to
LTS and even previous ubuntu versions, like 14.04.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2021-05-21 Thread Eugene Savitsky
Just accidentally hit it Very big crontab. Thanks God I just
yesterday made a backup.

www@weare:/home/eugene$ crontab -r
www@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
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2019-07-27 Thread Anonymous
I'm glad my initial stubborness is leading to this avalanche of users
echoing me. I feel all your pain, I have been there and it sucks!

I would suggest this update/patch needs to go into not only the new
versions of Ubuntu, but also the LTS distribution repos also, as a
stability bugfix.

I made a ticket in the Mint repos about the bug called systemd and they
insta-banned me, lol. I still run Ubuntu 14.04 because I am not
interesting in running systemd as pid1, or at all. I'll probably be off
to slackware soon.

It's been real, Ubuntu.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2019-07-27 Thread Akiva
These are only the ones stubborn enough to.complain. there are so.many
others...

On Sat, Jul 27, 2019, 10:53 PM Terence Eden <1451...@bugs.launchpad.net>
wrote:

> 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 subscribed to the bug
> report.
> 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
>

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2019-07-27 Thread Terence Eden
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
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-10-08 Thread Brian Murray
** Changed in: cron (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-10-06 Thread Ubuntu Foundations Team Bug Bot
The attachment "crontab_patch" seems to be a patch.  If it isn't, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-10-06 Thread Akiva
set the default behaviour of deleting a crontab to be prompt (and enable
suppressing this with -I)

** Attachment added: "crontab_patch"
   
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/1451286/+attachment/4486559/+files/crontab_patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-10-06 Thread Akiva
I just wanted to mention that on many keyboards the letters e and r are 
adjacent and that "crontab -e" is a very common command.
this increases the risk that someone might mistakenly delete his user crontab 
while trying to edit it

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-06-08 Thread Bug Watch Updater
** Changed in: cron (Debian)
   Status: Unknown => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-06-08 Thread Christian Kastner
This is a valid request. I've linked this bug to the corresponding bug
in Debian's cron.

** Changed in: cron (Ubuntu)
   Status: Invalid => Confirmed

** Bug watch added: Debian Bug tracker #561295
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561295

** Also affects: cron (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561295
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Unknown

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-05-08 Thread Anonymous
Telling the user to manually back up a file because the program might
delete it with no warning is NOT a good solution.

Totally ignored, and marked invalid. Typical.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Invalid

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-05-08 Thread Christian Decker
** Changed in: cron (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Invalid

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


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

2015-05-04 Thread Christian Decker
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

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp