/var/mail/{name} wrong permissions

Bug #141346 reported by Lethe
2
Affects Status Importance Assigned to Milestone
sendmail (Ubuntu)
Expired
Low
Unassigned

Bug Description

I have a Dell pre-installed Ubuntu Inspiron 6400.

I installed sendmail (default config) to stop anacron squinnying. I then found mails from cron were going into dead.letter as sendmail /etc/mail/aliases file mapped root: oem.

I changed this to push root mail to my login name --> nick.

Then testing with alpine, mails sent to root are sent ok, but reading mails from mutt disallow me to delete (read-only mail box).

The wrong group (man ?) got assigned to /var/mail/ (how to trace this where this happened, I do not know):

nick@palantir:~$ ls -lsa /var
...
1 drwxrwsr-t 2 root man 1024 2007-09-20 20:54 mail

nick@palantir:~$ ls -lsa /var/mail/nick
3 -rw------- 1 nick man 2225 2007-09-20 20:55 /var/mail/nick

I guess /var/mail should be owned by root.mail, and /var/mail/{name} should be owned by {name}.{namegroup} (which fixes it up).

Nick

Revision history for this message
Torsten Spindler (tspindler) wrote :

This bug seems to be based on Ubuntu 7.04. As Dell only ships systems with Ubuntu 7.10 currently, I set the status to incomplete.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!.

Revision history for this message
Neal McBurnett (nealmcb) wrote :

I had the same problem on a System76 lemu2 laptop installed with maverick at the end of 2011-03
Group "man":

drwxrwsr-x 2 root man 4096 2011-04-13 08:01 /var/mail

I just heard another report of the same thing via irc on lucid, so decided to reopen this.

Both of these are for postfix installs.

Changed in ubuntu:
status: Invalid → New
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Happened to me this morning. I created two users before intalling postfix. Will try to reliably reproduce on monday.

Changed in ubuntu:
status: New → Confirmed
assignee: nobody → Serge Hallyn (serge-hallyn)
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Turns out the bug for me is in the rackspace lucid image. The moment one is installed, /var/mail is owned by man. Postfix is at that point not even installed yet, so I will mark this bug as 'invalid' for postfix. I'm going to try an install from cd image, and if that reproduces it I"ll mark this affecting ubiquity. If not, then it appears to simply be a bug in Dell's and Rackspace's images. I don't know how those were generated, or how we file those.

Changed in ubuntu:
status: Confirmed → New
status: New → Invalid
status: Invalid → New
Changed in ubuntu:
assignee: Serge Hallyn (serge-hallyn) → nobody
Revision history for this message
komputes (komputes) wrote :

This bug has not yet been assigned to a package. Could you please confirm if this is a sendmail bug?

affects: ubuntu → sendmail (Ubuntu)
Changed in sendmail (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sendmail (Ubuntu) because there has been no activity for 60 days.]

Changed in sendmail (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Robert Ristroph (robert-fourkitchens) wrote :

I am seeing this on some rackspace cloud lucid machines, I think it is because of recent updates because servers that used to send mail stopped; also, these servers all use exim4, so it is likely not the sendmail package.

What further information can I collect from those servers that would be useful ?

--Rob

Revision history for this message
Jeremy Wasner (waz-d) wrote :

Hey Robert,
I work for Rackspace and I'd like to help out. Do you have a ticket opened with us about this that you can send us? If so, please send the ticket number to me at <email address hidden>. If not, please create one and send to me so we can investigate. Thanks!
Best,

Jeremy Wasner
Rackspace Hosting

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.