editkeep should exit with an error on startup if user cannot edit /var/lib/deborphan/keep

Bug #605971 reported by krak3n
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
deborphan (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: deborphan

Version 1.7.28ubuntu1. I started editkeep as a normal user and began selecting packages to keep. Then I clicked OK and editkeep exited with error "/var/lib/deborphan/keep: Permission denied". This was a bad user experience because I wasted my time selecting those packages and had to redo the work again after I restarted editkeep using sudo. Preferred behavior would be for editkeep to exit immediately if user does not have permissions or flash a message that user does not have write permissions and then allow a read-only view.

Revision history for this message
CarstenHey (c.hey) wrote : Re: [Bug 605971] [NEW] editkeep should exit with an error on startup if user cannot edit /var/lib/deborphan/keep

* krak3n [2010-07-15 17:39 -0000]:
> Version 1.7.28ubuntu1. I started editkeep as a normal user and began
> selecting packages to keep. Then I clicked OK and editkeep exited with
> error "/var/lib/deborphan/keep: Permission denied". This was a bad user
> experience because I wasted my time selecting those packages and had to
> redo the work again after I restarted editkeep using sudo. Preferred
> behavior would be for editkeep to exit immediately if user does not have
> permissions or flash a message that user does not have write permissions
> and then allow a read-only view.

Thanks for your bug report, I fixed the equivalent orphaner bug about
two years ago and should have thought about fixing it for editkeep too.

This will be part of the next major release of deborphan.

Regards
Carsten

Changed in deborphan (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.