consider preserving group of file across shelve/unshelve

Bug #416718 reported by LaMont Jones
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

there are places where group ownership can be a concern, and bzr is managing the directory tree. shelving and unshelving a file can change the group ownership of the unshelved file. If it's not too hard to preserve that, it would be wonderful.

thanks,
lamont

Revision history for this message
Martin Pool (mbp) wrote :

That sounds reasonable. I guess it's not specific to shelve (though that may be where you notice it) but all operations that update the working tree that should do this?

Are there any cases where people wouldn't want it to match the group of the old file?

Changed in bzr:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 416718] [NEW] consider preserving group of file across shelve/unshelve

Just so you know, any bzr operation - like merge - will write new files
rather than edit existing ones.

So fixing this isn't shelve specific;)

-Rob

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 416718] [NEW] consider preserving group of file across shelve/unshelve

2009/8/21 Robert Collins <email address hidden>:
> So fixing this isn't shelve specific;)

Right, we would presumably need to stat the existing file and copy
it's group, probably in treetransform.

--
Martin <http://launchpad.net/~mbp/>

Jelmer Vernooij (jelmer)
tags: added: shelf
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.