LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Mercurial-server and apache MERGED... (https://www.linuxquestions.org/questions/linux-newbie-8/mercurial-server-and-apache-merged-4175419222/)

reality29 07-29-2012 01:47 PM

Mercurial-server and apache MERGED...
 
Hey all :)

I'd like to ask if it's possible to change mercurial-server repository location "/var/lib/mercurial-server/repos" to "/var/www/html" so that when I push changes to my server I automatically can see the changes in the browser?

I tried to ln -s, but I get a 'permission denied'.

KinnowGrower 07-29-2012 04:48 PM

Did not got much info. Can you please paste the complete ln -s command so that it will show what you are trying to achieve?

reality29 07-29-2012 05:01 PM

Thanks for the reply and sorry for misleading info.

The ln -s actually worked perfectly, but the problem occurs when I try to push repository from my home location i.e. "hg push ssh://hg@server.com/repository_name". I get " remote: abort: could not lock repository repository_name: Permission denied ".
There is obviously something wrong with permissions, but I tried to chmod and chown resulting in same error.


All times are GMT -5. The time now is 06:34 PM.