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

Asked by Hobson Lane

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:
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
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