From: Dave Howorth <dhowo...@mrc-lmb.cam.ac.uk>

> Todd Wade wrote:
>> My problem is because the umask is 0002, the files should be g+r,g+w
>
> The umask does not SET the mode, the umask MASKs the mode set by the
> application.

Where did I say that a umask sets the mode?

> It can't cause extra bits to be set.

The app can explicitly set the mode for the file, ignoring the umask. Which is 
exactly what File::Temp does.

> You need to change the application if you want extra bits set.

Or the app could honor the umask instead of explicitly setting the mode.

_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to