`bzr ignore` problems aka file system access issues

Bulgrien, Kevin Kevin.Bulgrien at GDSATCOM.com
Thu Aug 16 20:43:34 UTC 2012


> Today, however, after the IT fiasco, running `bzr ignore` produces errors like:
>
> $ cd /c
> $ bzr ignore pending.un
> bzr: ERROR: [Errno 13] Permission denied
>
> $ tail -21 /c/Documents\ and\ Settings/kbulgrien/My\
> Documents/.bzr.log
>
> Thu 2012-08-16 13:07:15 -0500
> 0.094  bazaar version: 2.5.1
> 0.094  bzr arguments: [u'ignore', u'pending.un']
> 0.094  looking for plugins in C:/Documents and
> Settings/kbulgrien/Application Data/bazaar/2.0/plugins
> 0.094  looking for plugins in C:/Program Files/Bazaar/plugins
> 0.141  encoding stdout as osutils.get_user_encoding() 'cp1252'
> 0.172  opening working tree 'C:/'
> 0.219  Traceback (most recent call last):
>   File "bzrlib\commands.pyo", line 920, in exception_to_return_code
>   File "bzrlib\commands.pyo", line 1131, in run_bzr
>   File "bzrlib\commands.pyo", line 673, in run_argv_aliases
>   File "bzrlib\commands.pyo", line 695, in run
>   File "bzrlib\cleanup.pyo", line 136, in run_simple
>   File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
>   File "bzrlib\builtins.pyo", line 3209, in run
>   File "bzrlib\ignores.pyo", line 221, in tree_ignores_add_patterns
>   File "bzrlib\atomicfile.pyo", line 75, in __init__
> OSError: [Errno 13] Permission denied

Ugh:

C:\>echo >krb
Access is denied.

And:

$ bzr revert
 M  .bzrignore
 M  msys/1.0/home/kbulgrien/.profile
bzr: ERROR: Failed to rename C:/.bzr/checkout/limbo/new-1 to C:/.bzrignore: [Error 5] Access is denied

Permissions are forbidding creation of new files in C:\ so in this case it is not likely a Bazaar issue except that perhaps its log is not as helpful as it might be.

This message and/or attachments may include information subject to GD Corporate Policy 07-105 and is intended to be accessed only by authorized personnel of General Dynamics and approved service providers.  Use, storage and transmission are governed by General Dynamics and its policies. Contractual restrictions apply to third parties.  Recipients should refer to the policies or contract to determine proper handling.  Unauthorized review, use, disclosure or distribution is prohibited.  If you are not an intended recipient, please contact the sender and destroy all copies of the original message.



More information about the bazaar mailing list