Re: [EXIM] oddity in appendfile

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Jasper Wallace
Fecha:  
A: Nigel Metheringham
Cc: exim-users
Asunto: Re: [EXIM] oddity in appendfile
On Mon, 1 Jun 1998, Nigel Metheringham wrote:

> 660 (decimal) = 1224 (octal)


Thats what i'd gathered - i was just pointing it out as a trap for the
unwairy - it might be nice to add a some code to check that for permissions
there is a leading 0 (or automaticlly assume it's octal as chmod[1] does).

has anyone here _ever_ used decimal for permissions?

this is of course at the cost of makeing the code less generic.

> jasper@??? said:
> } mode=660
> } in the local_delivery transport, and it was creating files that looked
> } like this:
>
> } --w--w-r--   1 u15834i6 106          737 May 30 22:26 u15834i6

>
> } changing it to 0660 seemes to of made the problem go away.
>
>     Nigel.


[1] at least on solaris, FreeBSD and irix it does

--
Jasper Wallace                                Argo Interactive Group PLC
+44 (0)1243 815815                                 Unix Systems support,
+44 (0)411  264753                       Integration and Administration.



--
*** Exim information can be found at http://www.exim.org/ ***