bzr read-only errors need improvement (was Re: bzr requires write permissions to root directory of repository)

Robert Collins robertc at robertcollins.net
Mon Feb 20 09:47:14 GMT 2006


On Mon, 2006-02-20 at 10:40 +0100, martin f krafft wrote:
> also sprach martin f krafft <madduck at debian.org> [2006.02.11.1305 +0100]:
> > seamus:/etc/logcheck> bzr commit
> > bzr: ERROR: exceptions.OSError: [Errno 13] Permission denied: './bzr_log.dIj4RL'
> >   at /usr/lib/python2.4/tempfile.py line 236
> >   in _mkstemp_inner
> 
> seams:/etc/logcheck> bzr revert
> bzr: ERROR: exceptions.OSError: [Errno 13] Permission denied: '/etc/logcheck/bzr-tree-change'
>   at /usr/lib/python2.4/site-packages/bzrlib/_changeset.py line 1144
>   in apply_changeset
> 
> seamus:/etc/courier> bzr ignore \*.cnf
> bzr: ERROR: exceptions.IOError: [Errno 13] Permission denied: u'/etc/courier/.bzrignore.30405.seamus.tmp'
>   at /usr/lib/python2.4/site-packages/bzrlib/atomicfile.py line 47
>   in __init__
> 
> 
> just keeping track... :)

Erm, I think both of those are entirely predictable errors :).

Both require changing the working tree, and in both cases you would not
expect such access.

But we should make the error nicer.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060220/80f384a1/attachment.pgp 


More information about the bazaar mailing list