Comment 16 for bug 376388

Revision history for this message
Vincent Ladeuil (vila) wrote :

> Another option would be to say we always attempt to chown the .bazaar (and .bzr.log) to be the same
> as the containing directory.

Until parthm nudged me enough to reveal that chown isn't working for the average user, I had always thought
*any* user can freely use chown as long as he had write access to the containing directory.

I was wrong.

chown(2) unambiguously says:

        Only a privileged process (Linux: one with the CAP_CHOWN capability)
       may change the owner of a file. The owner of a file may change the
       group of the file to any group of which that owner is a member. A
       privileged process (Linux: with CAP_CHOWN) may change the group arbi‐
       trarily.