----- Original Message ----
From: Larry Leszczynski <[email protected]>
>> I'm not seeing a umask being applied when File::Temp creates the file:
>
> It is being applied, it just doesn't do anything.
>
> Try changing your umask to 0222 and do the same test:
>
> $ rm sysopened
> $ umask 0222
> $ umask
> 0222
> $ perl -MFcntl -e 'sysopen(my $fh, "./sysopened", O_WRONLY | O_APPEND |
> O_CREAT, 0600)'
> $ ls -l sysopened 
> -r--------  1 larry  staff  0 Sep  9 12:15 sysopened

Ok I get it now. Thank you!

Todd W.

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to