Setting up hgwebdir.cgi

Hans Meine meine at informatik.uni-hamburg.de
Fri Jul 25 10:20:43 CDT 2008


Am Freitag, 25. Juli 2008 16:19:03 schrieb Ted Pavlic:
> > Traceback (most recent call last): File ".../hgwebdir.cgi", line 49,
> > in ? print file('hgweb.config').read() IOError: [Errno 13] Permission
> > denied: 'hgweb.config' Premature end of script headers: hgwebdir.cgi
>
> What are the permissions on that file? Have you tried doing:
>
> chmod 0644 hgweb.config

You are right.  The answer is as simple as that.  On that host, the umask is 
set to 0027 by default, which I am not used to and which tricked me. #-}

Thanks for you help!

-- 
Ciao, /  /
     /--/
    /  / ANS


More information about the Mercurial mailing list