filepro and file permissions

Fairlight fairlite at fairlite.com
Thu Apr 26 13:37:05 PDT 2007


Y'all catch dis heeyah?  Dan Coutu been jivin' 'bout like:
> 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.

In which operation?  It's so "standard" it has three different ways of
doing it.

EXPORT = 0666
OPEN = 0600
[some operation I can't remember] = 0644

If you really need wide open perms, and are cognizant of the security
implications, do an EXPORT first, then CLOSE EXPORTNAME (you -MUST- use
EXPORTNAME, as close by itself doesn't work on exports), then use OPEN if
that's what you're using.  The O_CREAT will never be triggered because it
exists already, so the mode fP has internally hardwired is never used.

I wish I could remember which uses 0644.  Damn.

mark->


More information about the Filepro-list mailing list