CPFA09C: Not authorized to object. Object is *N
From Support
Problem
User was having troubles accessing certain documents in WebDocs. User had some documents stored on a NFS server on an System i. When trying to access them, they get an error trying to find the document, so we try to MOUNT the NFS drive, but then they get the following error: Not authorized to object. Object is *N. When we prompt on the message, we get the following
Message ID: CPFA09C Message: Not authorized to object. Object is *N Cause: You do not have the correct authority for object *N or for one of the directories in the object path. Recovery. Contact your security officer, the object owner, or other authorized person to obtain teh correct authority to use object *N or the directories in the object path, and try your request again. If the object name is *N, it could not be determined which of the objects authority was not sufficient. the iSeries Security Reference, SC41-5302, contains authority information for the operation.
Solution
This error typically means one of two things:
1. That there is either an issue with the path that was provided in the MOUNT or DOCMOUNT command
or
2. The shared folder setup on the NFS Server machine is exporting the directory incorrectly.
Go back to the NFS Server machine (whether that be another iSeries, Windows machine, Linux or other) and verify the Export Path that was created for that share.
Record the entire path and go back the iSeries and use the exact path (case sensitive) in the DOCMOUNT command.
Please note that in some of the different Linux OS versions, the share path that is exported by the NFS Server will be the entire path to that directory, while in Windows NFS and iSeries NFS, the shares are often referenced as "/sharename"
If another iSeries is being used as the NFS server, the following commands may need to be run on the iSeries that will be hosting the NFS share (not where DOCMOUNT is being called):
Stop the NFS server
ENDNFSSVR SERVER(*ALL)
Export the IFS Directory as an NFS Share
CHGNFSEXP OPTIONS('-I -O RW=,ANON=0') DIR('/RJSIMAGEDOCNFS')
Start the NFS Server on the iSeries system where documents will be stored
STRNFSSVR SERVER(*ALL)
