Thierry th.douez at
Mon Jan 17 09:19:53 EST 2011

Le 17 janv. 2011 à 14:47, Björnke von Gierke a écrit :

> Note that he meant the umask within LC,
> not the terminal command.

he he, didn't know that umask exists in LC  :)

> on mouseUp
>   set the umask to 777
>   ask file ""
>   put "boo" into url ("file:" & it)
> end mouseUp
> Result: umask doesn't change permissions of files created by lc on mac os x

So, looking quickly in LC dict, I found this :

On Mac OS and Windows systems, the umask property has no effect and always reports zero.

Even quicker than trying it in the terminal !


More information about the Use-livecode mailing list