write-file and umask
Posted: Mon May 30, 2005 11:18 am
Hi Lutz,
'write-file always creates an executable file output.
Would be more convienient if Newlisp would check the umask
of the current user or always put the file into 600.
> (write-file "count" "some text")
9
> (! "ls -al count")
-rwxr-xr-x 1 newdep users 9 2005-05-30 13:26 count
0
>
Norman.
'write-file always creates an executable file output.
Would be more convienient if Newlisp would check the umask
of the current user or always put the file into 600.
> (write-file "count" "some text")
9
> (! "ls -al count")
-rwxr-xr-x 1 newdep users 9 2005-05-30 13:26 count
0
>
Norman.