mercurial - HG Push Failed; Permission denied .hg/store/lock -


i have been trying setup mercurial repository on server team can work theirs. running ubuntu server 10.4 , did install of mercurial using apt-get. went smoothly.

i init dir hg fine, setup hgrc follows:

[web] push_ssl = false allow_push = *  [trusted] users = * groups= 

then run hg serve. server begins listening. can clone repository computer when try , push changes error:

c:\users\username\project1>hg push http://myinternalip:8000 pushing http://myinternalip:8000 searching changes abort: http error 500: internal server error 

on server side following error:

lockunavailable: [errno 13] permission denied: '/home/username/projects/project1/.hg/store/lock' 

if has solution how fix amazing. have googled , found people similar issues , may have web user not having permissions new of , none of them give solutions on how fix issue. time.

you must allow write access repository directories user running mercurial server process. i.e user account running hg serve must able write /home/username/projects/project1/

btw can provide more details command line used clone repository?


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -