permissions issue on print to a file

Richard D. Williams richard at appgrp.net
Mon Dec 4 16:33:16 PST 2006


Nancy Palmquist wrote:

> Richard,
>
> I might take another tack.  I have had my security staff insist that 
> export files be created with appropriate permissions and have had not 
> difficulty complying.
>
> After you complete the export, write and close the file, then you will 
> have permission to do a system command that will change the owner or 
> mode without issue.
>
> While the file is still open, it may not be allowed.
>
> Suggested location  for this logic might be in the @done logic.
>
> Works great.  Make any changes you require.  In my case, it was to 
> change the mode from the filePro default 0666 to a more secure setting.
>
> @done  if:
>     then: write file; close file
>     if:
>     then: system "chmod 0600 /home/appl/fpmerge/"{fm{" 2>&1"
>     if:
>     then: end
>
> Nancy

Nancy,

I appreciate your suggestion.  But, I am not using rreport.  I will 
double checked that the print file is closed and try it again.

Thanks,

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20061204/4a0c1989/attachment.html


More information about the Filepro-list mailing list