mhonarc-users

Re: umask and mode of files created by mhonarc rw-------

1999-03-31 02:48:42
Earl Hood <ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu> writes:

[Note, the MHonArc mailing list address is now 
mhonarc(_at_)ncsa(_dot_)uiuc(_dot_)edu]

On March 30, 1999 at 17:09, Francois Felix Ingrand wrote:

I am not really sure why, but it appears that the file created by mhonarc
(called by procmail) are created with rw-------

I thought first that this was procmail fault... but it is not. Putting 
UMASK=022 in procmail result in spool file with mode:
-rw-r--r-x

but still the file created with mhonarc are rw-------

I tried to insert a umask 022; at the beginning of mhonarc ($VERSION =
"2.1.0";) but it does not work either...

It would probably help to supply your procmail recipe.  I have little
experience with procmail, but other users on the list do have
experience.

Actually, adding:

<UMASK>
022
</UMASK>
 
in .rc fixed the pb... For some reasons, I overlooked this variable when
looking for the solution first.

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"May 1998: Did you realize that Ethernet is 25 years old..."
Professional: http://www.laas.fr/~felix         mailto:felix(_at_)laas(_dot_)fr
Personal: http://worldserver.oleane.com/felix   
mailto:felix(_at_)dial(_dot_)oleane(_dot_)com

<Prev in Thread] Current Thread [Next in Thread>