Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138507 - www-servers/lighttpd-1.4.11 wrong owner for /var/log/lighttpd
Summary: www-servers/lighttpd-1.4.11 wrong owner for /var/log/lighttpd
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 10:46 UTC by Daniel Webert
Modified: 2006-09-29 13:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!