permissions issue on print to a file

Nancy Palmquist nlp at vss3.com
Mon Dec 4 08:52:38 PST 2006


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 Palmquist 		MOS & filePro Training Available
Virtual Software Systems	Web Based Training and Consulting	
PHONE: (412) 835-9417		   Web site:  http://www.vss3.com


More information about the Filepro-list mailing list