[ic] Usertag and permissions on create file

Stefan Hornburg (Racke) racke at linuxia.de
Fri Sep 19 15:24:11 UTC 2008

Stefan Hornburg (Racke) wrote:
> m.mescoli at omnib.it wrote:
>> Perl beginner.
>> With an usertag i create a png plot file with umask permission 0660. 
>> This permissions do not permits apache to read the file and trasmit it 
>> to web clients. How create and write a file inside usertag with read 
>> permission for all ?
> Set umask to 002 (octal). A few tags in Interchange like
> [write-relative-file] allow to pass an umask parameter.

And don't forget to reset it after generating your png plot file :-).


LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

More information about the interchange-users mailing list