Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138507

Summary: www-servers/lighttpd-1.4.11 wrong owner for /var/log/lighttpd
Product: Gentoo Linux Reporter: Daniel Webert <rockoo>
Component: New packagesAssignee: www-servers Herd (OBSOLETE) <www-servers+disabled>
Status: RESOLVED WORKSFORME    
Severity: normal CC: beu, bg
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Webert 2006-06-29 10:46:23 UTC
www-servers/lighttpd-1.4.11 wrong owner for logfile-dir

after a fresh-install it says
<snip>
(mod_accesslog.c.514) opening access-log failed: Permission denied /var/log/lighttpd/access.log 
</snip>

chown -R lighttpd:lighttpd /var/log/lighttpd/ solves the issue
Comment 1 Nick Devito 2006-07-04 19:24:17 UTC
It looks like the ebuild already sets the owner of the directory:
[snippet from lighttpd-1.4.11.ebuild]:
        keepdir /var/l{ib,og}/lighttpd /var/www/localhost/htdocs
        fowners lighttpd:lighttpd /var/l{ib,og}/lighttpd
        fperms 0750 /var/l{ib,og}/lighttpd
[/snippet]
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2006-08-22 09:23:49 UTC
It does indeed, and I do not see this problem with a fresh install, or on an upgrade.
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-09-29 13:08:40 UTC
thanks for the report - it appears to have been fixed in the meantime.
please reopen with more info, if problem persists. thanks!