Forum OpenACS Development: Re: AOLServer 4.0 released...

Collapse
Posted by Nima Mazloumi on
Hi all,

I tried to run the aolserver 4 as root using -b ip:80 -g group -u service0 but the server complains that it cannot open error.log and service0.log (permission denied) even though I changed the log directory to 777.

Any idea why that happens?

Greetings,
Nima

Collapse
Posted by Andrei Popov on
Did you chmod dir only or files as well?

There's no need for 777 on these files, 744 is more than enough (you may also consider 740).  But they should be owned by service0/group.