Right; this line needs to be changed. Will push up to CVS tomorrow.
if (stat[0] & 0777) == 0700:
... to:
if (stat[0] & 0077) == 0:
That way it can cope with config files with 0600 and 0400, which are also
acceptable permissions.
Works fine for me now. Time to make a cron job to rotate the hit counts and
referrers.
Cheers,
Phil :)
Georg,
I assume I'm screwing up something here ... pycsadm.py isn't working for me.
I've edited the config file and uncommented the serverpassword field (and
added a password), then restarted, but I'm getting auth failures when I try
to call stuff:
[www-pycs@www pycs]$ ./pycsadm.py -v help
== get challenge
== execute help()
Traceback (innermost last):
File "./pycsadm.py", line 70, in ?
res = server.pycsAdmin.execute( token, args[0], args[1:] )
[...]
xmlrpclib.Fault: <Fault 1 """authorization for pycsAdmin call
failed:None""">
I suspect a permission problem with my config file -- will check this out.
Cheers,
Phil :)