`bzr ignore` problems aka file system access issues

Talden talden at gmail.com
Thu Aug 16 22:06:45 UTC 2012


On Fri, Aug 17, 2012 at 8:43 AM, Bulgrien, Kevin
<Kevin.Bulgrien at gdsatcom.com> wrote:
>> 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.

Launch cmd.exe as administrator.  Windows 7 (and possibly vista)
limits access to the root of the system drive.

--
Talden



More information about the bazaar mailing list