export file permissions
John Esak
john at valar.com
Thu Jun 17 16:24:25 PDT 2010
Mark is right. We have been over this many times. I should have remembered.
Changing umask does not good if you change it go into ta prc and then issue
the filePro commands. No change whatever. What we learned long ago was that
if you were to take extraordinary measures, then you could have umask play a
prt. For example:
then: system "umask 0; >/tmp/newfile"
Will create a file following the umask. Otherwise, you get the regular "rw"
creation of the file. Like he said, EXPORT makes a -rw-rw-rw (666) file.
Because of these differences, it is on wishlists somewhere that control over
permissions happen in future versions.
John
> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co
m] On Behalf Of Fairlight
> Sent: Thursday, June 17, 2010 6:42 PM
> To: filepro-list at lists.celestial.com
> Subject: Re: export file permissions
>
> Confusious (John Esak) say:
> > As some have mentioned, if you set the umask to what you
> want, and then run
> > your processes that make various files, they usually will
> be created with
> > this mask..
>
> filePro ignores regular umasks in favour of hardwired values. And the
> values it uses are different depending on whether you use
> export, open, or
> the HTML file open command. I believe they were 666, 600, and 644,
> respectively, the last time I tested.
>
> mark->
> --
> Audio panton, cogito singularis,
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list