Todd Wade wrote:
> File::Temp forces the file to 0600 and therefore doesn't respect the starting 
> users/processes umask (contrary to the mailing list archives :0).
> 
> $ umask
> 0002

Am I missing something? This mask says "never allow write permission for
others" ...

> $ pwd
> /home/me/foo
> $ ls -l
> total 0
> $ perl -MFile::Temp -le '$File::Temp::KEEP_ALL = 1; File::Temp->new(DIR => 
> ".");'
> $ ls -l
> total 0
> -rw------- 1 me me 0 Sep  6 22:32 lz0IkRPULz

... and this permission does not provide write permission for others, so
what's the problem?

http://linux.die.net/man/2/umask

> This seems like a bug but other than monkey patching File::Temp I can't 
> figure 
> out a decent way to deal with this. Any ideas?
> 
> Thank you,
> 
> Todd W.
> 
> _______________________________________________
> templates mailing list
> [email protected]
> http://mail.template-toolkit.org/mailman/listinfo/templates
> 


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

Reply via email to