[sclug] Permission errors with Dovecot

iso iso at isorox.co.uk
Fri Aug 12 00:42:29 UTC 2005


On Thu, Aug 11, 2005 at 10:58:39PM +0100, Tom Chance wrote:
> Ahoy,

Arrr

> I've started getting weird errors on my mail server, I think since I changed 
> the umask for mail files and directories to 0644 (I wanted universal read 

> The permissions on that file, for some reason, are:
> -----w----  1 tom users 58992 Aug 11 

> Does anyone have any thoughts on what's going on, and how I can rectify the 
> situation? I've tried commenting out the umask setting to revert to the 
> default to no avail.

umask is a strange one, it's the permissions you dont want by default
(excluding executable which is strange), so to get a "chmod 644" you'd 
want a umask of 0033

iso at bender:~> umask
0077
iso at bender:~> touch o
iso at bender:~> ls -l o
-rw-------    1 iso      users           0 2005-08-12 01:39 o
iso at bender:~> rm o
iso at bender:~> umask 0033
iso at bender:~> touch o
iso at bender:~> ls -l o
-rw-r--r--    1 iso      users           0 2005-08-12 01:41 o

As for commenting out the "umask" command, that might not be enough
depending on where it's been set, better to replace with the correct
umask.


More information about the Sclug mailing list