On 8 Sep 2011, at 21:59, Todd Wade wrote:

> $ umask
> 0002
> $ touch foo
> $ perl -MFile::Temp -le '$File::Temp::KEEP_ALL=1; File::Temp->new(DIR => 
> ".");'
> $ ls -l
> -rw-rw-r--  1 me  me  0 Sep  8 13:54 foo
> -rw-------  1 me  me  0 Sep  8 13:55 j3DftrlDiM

A more interesting demo is to set umask to 222… and do the same…

$ ls -l foo jP_Kq4u1Pd 
-r--r--r--  1 mike  staff  0  9 Sep 08:25 foo
-rw-------  1 mike  staff  0  9 Sep 08:25 jP_Kq4u1Pd

Things that make you go hrm...
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to