I just set up several repositories on my Ubuntu server. I can pull from them just fine, but when I try:
hg push ssh://myserver//hg/repo
I get
abort: could not lock repository ... Permission denied
This is a permissions issue. The name being used to authenticate must either be the owner of all the files, or be in a group that has write permission to all the files.
Alternatively, you could set the permissions to 777
, but that last 7
is a really bad idea, as then anyone who is able to gain any kind of access to the server could play havoc with the repositories.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With