Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 12126 - incorrect file/directory permissions for sendmail
Summary: incorrect file/directory permissions for sendmail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
: 12807 14460 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-12-13 17:55 UTC by Robert Wruck
Modified: 2003-02-04 19:42 UTC (History)
3 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 Robert Wruck 2002-12-13 17:55:10 UTC
I just emerged sendmail-8.12.6-r1 and noticed the following errors:

/usr/sbin/sendmail is owned by root.root (should be root.smmsp)
/var/spool/clientmqueue is owned by root.root (should be root.smmsp)
(otherwise, you won't be able to submit mail with sendmail, because the sendmail
msp runs as smmsp:smmsp)

/var/spool/mail has permissions 0755 (should be 1777)
Comment 1 Nick Hadaway 2002-12-18 22:31:17 UTC
I have updated net-mail/mailbase to 0.00-r5 which adds in a hook for 
creating /var/spool/mail with 1777 permissions.
Comment 2 Nick Hadaway 2002-12-18 22:33:50 UTC
sendmail-8.12.7 will be out very soon and I will update the new ebuild 
accordingly with the smmsp group fixes.
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2002-12-27 15:51:28 UTC
*** Bug 12807 has been marked as a duplicate of this bug. ***
Comment 4 roma1390 2002-12-27 15:59:39 UTC
/var/spool/clientmqueue is recomended: smmp.smmsp mode 0770
Recomedation from: "SENDMAIL INSTALLATION AND OPERATION GUIDE" 1.3.8
Comment 5 Nick Hadaway 2003-01-02 02:07:40 UTC
sendmail-8.12.7 is currently in portage.  Marked unstable.  This build has all 
known required changes.  This should have only included the change from 
root:smmsp to smmsp:smmsp permissions on /var/spool/clientmqueue.

Also the mailbase-0.00-r5 is still waiting to be unmasked which changes 
permissions on /var/spool/mail to 1777...
Comment 6 Nick Hadaway 2003-01-19 19:52:52 UTC
closing bug as changes are in portage.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-01-23 16:45:17 UTC
*** Bug 14460 has been marked as a duplicate of this bug. ***