bzr launchpad-login user ERROR: Cannot lock LockDir(file:///home/user/.bazaar/lock)...

Asked by Hobson Lane on 2011-05-12

While attempting to login to launchpad I received the following error:
ERROR: Cannot lock LockDir(file:///home/user/.bazaar/lock): Permission denied: "/home/user/.bazaar/lock": [Errno 13] Permission denied: '/home/user/.bazaar/lock'

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bzr Edit question
Assignee:
No assignee Edit question
Solved by:
Hobson Lane
Solved:
2011-05-12
Last query:
2011-05-12
Last reply:
Hobson Lane (hobs) said : #1

# For a sudoer user the fix was simply ...
chown <local_user>:<local_user> ~/.bazaar
# and then logon as normal
bzr launchpad-login <launchpad_user>

# Substitute your usernames in <...> as appropriate

Hobson Lane (hobs) said : #2

# For a sudoer user the fix was simply ...
sudo chown <local_user>:<local_user> ~/.bazaar
# and then logon as normal
bzr launchpad-login <launchpad_user>

# Substitute your usernames in <...> as appropriate