bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [bug-mailutils] Permissions


From: Andrew Barnes
Subject: RE: [bug-mailutils] Permissions
Date: Thu, 21 May 2009 14:04:18 +0000

Hi,

Thanks for the reply :)

Sergey's reply was that the permissions on /var/mail should be 1777, which is where I got too while trying to make everything work. I asked mainly because that seemed a bit too permissive, though I don't think that can be helped given that we are using files.

At the minute, I'm going to leave the directory owned by root.root and the individual files owned by the user.

Andy

> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: [bug-mailutils] Permissions
> Date: Thu, 21 May 2009 07:48:27 -0400
>
> What permissions/owner should the mail directory have?
>
> This is very much site-specific. In general, /com/mail/USER should be
> owned by USER, and writable by the mail daemon (to append mail the
> spool file). And /com/mail should be writable by the mail daemon (to
> create user spool files)
>
> On some systems, where you do not read mail locally, the permissions
> matter less, as long as the daemon can access the relevant files.
>
> For example, these are the permissions on one mail server:
>
> drwxrwxrwt 4 root Debian-exim 12288 May 21 05:25 /com/mail
> -rwxr--r-- 1 ams ams 6260 May 21 05:21 /com/mail/ams
>
> But the following on another:
>
> drwxrwsr-x 2 0 8 4096 May 12 07:27 /var/mail
> -rw-r--r-- 1 ams ams 0 May 21 11:19 ams


Get the New Internet Explore 8 Optimised for MSN. Download Now

reply via email to

[Prev in Thread] Current Thread [Next in Thread]