Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542256 - net-mail/mailbase-1.1 wrong permission on /var/spool/mail
Summary: net-mail/mailbase-1.1 wrong permission on /var/spool/mail
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 13:24 UTC by 白川間瀬流
Modified: 2015-05-07 10:09 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 白川間瀬流 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