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

Bug 124917

Summary: mail-filter/clamsmtp refuses to work if root "/" filesystem node permissions are (1341/d-wxr----t)
Product: Gentoo Linux Reporter: Jakub Wasielewski <gentoo-bugzilla>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WONTFIX    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakub Wasielewski 2006-03-04 02:08:54 UTC
If permissions for "/" are (1341/d-wxr----t) clamsmtp insists at start that:

clamsmtpd: couldn't open pid file: /var/run/clamav/clamsmtpd.pid: Permission denied

even when /var/run/clamav/ is owned by "clamav" user & group with correct perms, clamsmtp will not write its pid to file in this directory and ofcourse its stopping by initscript is impossible.

It will not work at all as it also insists that it have denied permission to clamav socket which is also in /var/run/clamav directory.

Setting "/" perms to o+r helps but sucks ;)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-04 02:12:53 UTC
Experimenting with filesystem permissions in such way, you are basically on your own.
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2006-10-06 09:40:47 UTC
Try to report this upstream, but there's nothing we can do with this issue.