Integrated permissions/ownership reset on file operations for etckeeper/bzr

Bug #322339 reported by Thierry Carrez
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Incomplete
Undecided
Unassigned
bzr (Ubuntu)
Confirmed
Wishlist
Unassigned
etckeeper (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: etckeeper

Since the VCS doesn't handle full permissions/ownership information, etckeeper keeps track of the differences in permissions/ownership in a .etckeeper file.

When the repository is restored to a previous revision (or any other VCS operation that cause a file to be modified), its permissions/ownership properties must be manually synced, since the VCS is not aware of them.

To make etckeeper more user-friendly, it would be nice to integrate the ownership/permissions changes into the file operations. This may be done at the bzr etckeeper plugin level, using a hook that would reset the permissions/ownership for each file by looking into the corresponding .etckeeper state.

Tags: hooks
Thierry Carrez (ttx)
Changed in etckeeper:
importance: Undecided → Wishlist
Thierry Carrez (ttx)
Changed in etckeeper:
status: New → Confirmed
Thierry Carrez (ttx)
Changed in bzr (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Robert Collins (lifeless) wrote :

We need some more details about what bzr changes are needed to move this bug along.

Changed in bzr:
status: New → Incomplete
Daniel Hahler (blueyed)
Changed in etckeeper (Ubuntu):
status: Confirmed → Triaged
Jelmer Vernooij (jelmer)
Changed in bzr (Ubuntu):
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: hooks
Revision history for this message
Mark A. Hershberger (hexmode) wrote :

I don't know what is needed, but this just bit me in the butt. Luckily the file was there so I could see *when* the permissions changed, but it would be better if this actually took care of rolling them back, as well.

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.