On Sun, June 3, 2007 12:25 am, david wrote:
> On Sat, 2007-06-02 at 22:28 +1000, Voytek Eymont wrote:

>> does that mean cronlog doesn't have correct permissions to logs/ ?

> Apache-user != domain.tld.au-user

> Maybe chown www-data:www-data /home/domain.tld.au/logs
> (or whatever owns Apache on your version)

thanks, David

yes, I tried that already with chown -R apache:domain.tld.au logs
and, as far as I can make out, cronlog runs as root


# ps aux | grep crono
root     22664  0.0  0.0  2588  368 ?        S    04:02   0:00
/usr/sbin/cronolog /home/domain.org.au/logs/%Y-%m-%d-access.log

is this another SELinux issue...?

for the docroot I did:

chcon -R -h -t httpd_sys_content_t /home/domain.tld/www

do I need something like this for logs ?

like httpd_sys_script_ra_t ??

is it like:
chcon -R -h -t httpd_sys_script_ra_t /home/domain.org.au/logs
???


-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to