in the above steps, i think you need to add and commit the file before editing it for bzr shelve to catch it, but you probably should know that.
bzr unshelve does the same, by the way:
1. create file (and probably add+commit it) 2. edit it 3. bzr shelve 4. chown or chgrp 5. bzr unshelve
by now the ownership data is overwritten with, again, your own user/group.
I'm not sure if I should make this a separate bug.
in the above steps, i think you need to add and commit the file before editing it for bzr shelve to catch it, but you probably should know that.
bzr unshelve does the same, by the way:
1. create file (and probably add+commit it)
2. edit it
3. bzr shelve
4. chown or chgrp
5. bzr unshelve
by now the ownership data is overwritten with, again, your own user/group.
I'm not sure if I should make this a separate bug.