filepro and file permissions

Laura Brody laura at hvcomputer.com
Thu Apr 26 13:47:59 PDT 2007


Quoting Dan Coutu <coutu at snowy-owl.com>:

> How can I get filePro to set different file permissions than the
> default? I'm running filePro on a red hat enterprise linux 4 system. It
> insists on creating files with permissions that allow only the filepro
> user to read/write the file and locks out everyone else. That's nice
> sometimes and right now is a total thorn in my side. I need to allow
> files created to be a least group read/write-able.
>
> I've tried to create a .profile in the user's home directory with 'umask
> 002' but that didn't work.

  I am guessing that you are printing to a file or doing
an export....

  You can change the file permissions after you close it. After
a "close exportfilename" command, just do a

  System "chmod 666 /path/exportfilename"

   If you are printing to a file, you can do something similar
with PFPOSTPRINT.
--
Laura Brody
+------------- Hudson Valley Computer Associates, Inc ----------+
| PO Box 859 120 Sixth Street    http://www.hvcomputer.com      |
| Verplanck, NY 10596-0859       Voice mail: (914) 739-5004     |
+------ PC repair locally, filePro programming globally --------+


More information about the Filepro-list mailing list