permission problem with hg clone

Mads Kiilerich mads at kiilerich.com
Tue Aug 30 13:15:44 UTC 2011


On 08/30/2011 02:15 PM, Lluís Forns wrote:
> I am trying to update my repo to a new location. I tried
> $ hg clone pef ssh://myuser@192.168.1.5//home/samba/shares/hg/myproject
> abort: Permission denied: /home/samba/shares/hg/myproject/.hg
> abort: could not create remote repo!
>
> On the server:
> # ls -lA
> total 4
> drw-rws---+ 2 mysuer mygroup 4096 2011-08-30 14:02 myproject
> root at myserver:/home/samba/shares/hg#

You need the x permission on your directories.

> Any hint? both client and server are Ubuntu

Samba is not involved at all?

/Mads



More information about the Mercurial mailing list