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

Bug 542256

Summary: net-mail/mailbase-1.1 wrong permission on /var/spool/mail
Product: Gentoo Linux Reporter: 白川間瀬流 <vamp898>
Component: [OLD] ServerAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED INVALID    
Severity: normal CC: monsieurp
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description 白川間瀬流 2015-03-05 13:24:04 UTC
When installing net-mail/mailbase, the /var/spool/mail directory gets created with

User: mail (8)
Group: root (0)

it should be

User: root (0)
Group: mail (8)

Even mailbox itself is complaining about this, so why does it get created that way?

Reproducible: Always

Steps to Reproduce:
1. Install mailbase
2. check permissions on /var/spool/mail
Actual Results:  
They are mail:root

Expected Results:  
They should be root:mail (as mailbox itself says it)
Comment 1 白川間瀬流 2015-05-07 09:02:42 UTC
Something new on this case?
Comment 2 Eray Aslan gentoo-dev 2015-05-07 10:09:53 UTC
$ grep fowners mailbase-1.1.ebuild 
	fowners root:mail /var/spool/mail
$ ls -ld /var/spool/mail/
drwxrwsr-t 2 root mail 4096 Oct 15  2012 /var/spool/mail/

Check your system if you indeed have mail:root