Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591686 - =net-mail/mailbase-1.1: wrong ownership
Summary: =net-mail/mailbase-1.1: wrong ownership
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-19 13:36 UTC by Toralf Förster
Modified: 2016-11-15 07:58 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 Toralf Förster gentoo-dev 2016-08-19 13:36:04 UTC
setup a new bare metal stable hardened amd64 server today and got from elog :

WARN: postinst
Your /var/spool/mail/ directory permissions differ from
  those which mailbase wants to set it to (03775).
  If you did not change them on purpose, consider running:

    chown root:mail /var/spool/mail/
    chmod 03775 /var/spool/mail/



And indeed :

rescue .ssh # ls -ld /var/spool/*
drwxr-xr-x 4 root   root   4096 Aug 19 15:15 /var/spool/at
drwxr-xr-x 4 cron   root   4096 Aug 19 14:52 /var/spool/cron
drwxrwx--- 2 jabber jabber 4096 Aug 19 14:33 /var/spool/jabber
drwxr-xr-x 2 mail   root   4096 Aug 19 14:39 /var/spool/mail


I switched user and group as expected btu I do think this might be wrong in the image, or ?
Comment 1 Eray Aslan gentoo-dev 2016-08-22 12:11:35 UTC
Adding releng - looks like wrong permissions in stage3
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2016-08-30 23:12:40 UTC
(In reply to Eray Aslan from comment #1)
> Adding releng - looks like wrong permissions in stage3

We don't do anything special about mail in the stages, so I have no idea what is causing this.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2016-11-14 03:30:31 UTC
I believe this is a duplicate of bug 532990. I just closed that bug as I couldn't find any permissions issue in the latest stages.

@net-mail:
Your bug so feel free to close it.
Comment 4 Eray Aslan gentoo-dev 2016-11-15 07:58:21 UTC
Closing.  Thanks for the info.