<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Nancy Palmquist wrote:
<blockquote cite="mid45745256.4010006@vss3.com" type="cite">Richard,
  <br>
  <br>
I might take another tack.&nbsp; I have had my security staff insist that
export files be created with appropriate permissions and have had not
difficulty complying.
  <br>
  <br>
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.
  <br>
  <br>
While the file is still open, it may not be allowed.
  <br>
  <br>
Suggested location&nbsp; for this logic might be in the @done logic.
  <br>
  <br>
Works great.&nbsp; Make any changes you require.&nbsp; In my case, it was to
change the mode from the filePro default 0666 to a more secure setting.
  <br>
  <br>
@done&nbsp; if:
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;then: write file; close file
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;if:
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;then: system "chmod 0600 /home/appl/fpmerge/"{fm{" 2&gt;&amp;1"
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;if:
  <br>
&nbsp;&nbsp;&nbsp;&nbsp;then: end
  <br>
  <br>
Nancy
  <br>
</blockquote>
<font face="Courier New, Courier, monospace">Nancy,<br>
<br>
I appreciate your suggestion.&nbsp; But, I am not using rreport.&nbsp; I will
double checked that the print file is closed and try it again.<br>
<br>
Thanks,<br>
<br>
Richard<br>
</font>
</body>
</html>