bzr status: does not recognise pure chmod changes

Bug #862362 reported by Paul Sladen
This bug report is a duplicate of:  Bug #67589: bzr does not store permissions. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

If some files have purely changed in their chmod permission status (for example, being embargoed before release), then bzr does not recognise a pure chmod permissions change as being something that can be committed.

Ideally bzr would notice the permission change, both in 'bzr status' and 'bzr commit'.

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 862362] [NEW] bzr status: does not recognise pure chmod changes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/29/2011 2:59 PM, Paul Sladen wrote:
> Public bug reported:
>
> If some files have purely changed in their chmod permission status
> (for example, being embargoed before release), then bzr does not
> recognise a pure chmod permissions change as being something that
> can be committed.
>
> Ideally bzr would notice the permission change, both in 'bzr
> status' and 'bzr commit'.
>
> ** Affects: bzr Importance: Undecided Status: New
>

I don't know what specific permission change you think bzr is supposed
to be watching.

$ bzr st
$ chmod a-x bzr
$ bzr st
modified:
  bzr*

I think the issue is that bzr *does not* track read-write permissions
at all. It is meant as a way to version code, so if you have access to
the *branch* you have access to the code. Doing 'bzr co' of the code
will give you regular 'rw' files.

Perhaps you want bzr to track the full rwx+ugo permissions. You may
want to look into 'etckeeper' which layers permission tracking on top
of bzr (using hooks).

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6EjqgACgkQJdeBCYSNAAO18wCfT820uRlnxvmp1x44M/qGBDCb
q6wAoMPkju123KL0sOOkqjPRUqGxnilL
=m0fq
-----END PGP SIGNATURE-----

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

  duplicate 67589

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.