Search code examples
cygwincommitbazaar

bazaar: I do not want to commit changes to file permissions


I am wanting to commit some changes I have made, but somehow on my Cygwin system, bzr diff shows that every single file had the executable permission switched on ("+x"). How can I commit everything except any file permission changes?

In my case, the easier method (which I'm about to try) is to globally change all files to lose executable permission. However, I still would like a general answer to the problem of how to selectively not commit file permission changes.


Solution

  • You should be able to change the files to no longer be executable by running "bzr revert" on them. Alternatively, you could just run something like "chmod -R a-X ." to remove the executable bit from all files.

    There is no way in Bazaar to only commit the content changes of a file and not the metadata changes at the moment.