Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449050 - read permissions for forum apache logs
Summary: read permissions for forum apache logs
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Other web server issues (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Infrastructure
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-28 15:08 UTC by Tom Knight (RETIRED)
Modified: 2016-06-22 10:06 UTC (History)
1 user (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 Tom Knight (RETIRED) gentoo-dev 2012-12-28 15:08:20 UTC
Can you give read permissions to the glogread group to the forums apache logs on godwit and gannet. For these directories and those below it:

/var/log/apache2/forums{,test}.gentoo.org/

Thanks
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2012-12-29 03:10:29 UTC
Those dirs/logs are already root:forums with read permissions for members of the "forums" group, which you belong to. So you should be able to read those logs.
Comment 2 Anders Hellgren gentoo-dev 2012-12-29 07:39:46 UTC
That may be, but /var/log/apache is apache:apache and permissions for 'o' is 0.
Comment 3 Tom Knight (RETIRED) gentoo-dev 2012-12-29 14:11:53 UTC
For the reason pointed out by kallamej I can't see these directories/files:

tomk@gannet ~ $ groups
users forums glogread
tomk@gannet ~ $ ls /var/log/apache2/forums{,test}.gentoo.org/{transfer,error}{,-ssl}/
ls: cannot access /var/log/apache2/forums.gentoo.org/transfer/: Permission denied
ls: cannot access /var/log/apache2/forums.gentoo.org/transfer-ssl/: Permission denied
ls: cannot access /var/log/apache2/forums.gentoo.org/error/: Permission denied
ls: cannot access /var/log/apache2/forums.gentoo.org/error-ssl/: Permission denied
ls: cannot access /var/log/apache2/forumstest.gentoo.org/transfer/: Permission denied
ls: cannot access /var/log/apache2/forumstest.gentoo.org/transfer-ssl/: Permission denied
ls: cannot access /var/log/apache2/forumstest.gentoo.org/error/: Permission denied
ls: cannot access /var/log/apache2/forumstest.gentoo.org/error-ssl/: Permission denied
tomk@gannet ~ $ ls /var/log/apache2/forums.gentoo.org/transfer/$(date +%Y%m%d).log
ls: cannot access /var/log/apache2/forums.gentoo.org/transfer/20121229.log: Permission denied
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2016-06-22 10:06:02 UTC
Closing as requestor seems to be retiring.