umask & dot forward

Victor Odhner plug-discuss@lists.PLUG.phoenix.az.us
Wed, 24 Oct 2001 11:09:25 -0700


Hi, Craig.

Remember that umask is a negative mask -- it turns OFF the
specified permission bits.  (I think -- oh, always get
confused when I deal with this.)  Umask interacts both with
chmod and with the mode you specify when you create the file
or directory.

It is used right-justified, as any numeric value would be, so:
 022 denies write permission to group and world;
 0775 denies all permissions to owner and group and
    gives ONLY write permissions to world.  So I don't
    think you'd want to use this.
 Read about umask in 'man bash' and also look at 'chmod'.

You use a .forward file to activate procmail -- I forget how.
After that the rc file will come into play.

Good luck,

Vic