breaks when unable to create cache directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Breezy |
Fix Released
|
Critical
|
Jelmer Vernooij |
Bug Description
This is a regress from the new bedding code:
Traceback (most recent call last):
File "tools/
main(sys.argv)
File "tools/
with breezy.
File "breezy/
state._start()
File "breezy/
self.
File "breezy/trace.py", line 655, in __enter__
self.
File "breezy/trace.py", line 292, in enable_
brz_log_file = _open_brz_log()
File "breezy/trace.py", line 249, in _open_brz_log
_brz_
File "breezy/trace.py", line 210, in _get_brz_
return os.path.
File "breezy/
os.
File "/usr/lib/
makedirs(head, mode)
File "/usr/lib/
makedirs(head, mode)
File "/usr/lib/
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/sbuild-
Related branches
- Martin Packman: Approve
-
Diff: 87 lines (+34/-5)4 files modifiedbreezy/plugins/launchpad/lp_api.py (+4/-1)
breezy/plugins/launchpad/test_lp_api.py (+6/-2)
breezy/tests/test_trace.py (+16/-0)
breezy/trace.py (+8/-2)
Changed in brz: | |
importance: | High → Critical |
Changed in brz: | |
status: | Fix Committed → Fix Released |
Note that this only affects 3.1.