Users cannot access files in an IFS directory because they don't have authority to the IFS directory
From Support
| | If you have a question or seek clarification, please call Technical Support. |
Problem:
A user has created an IFS directory with the MKDIR command on the AS/400, but only the user that created the directory can access IFS files in the directory. They would like to change the IFS directory attributes so that other users can access files within the IFS directory.
Solution:
The following steps will allow you to change the authority of an IFS directory. Let's assume for this example that we are working with a directory named: REPORTS. The REPORTS directory was created in the root of the IFS using the following AS/400 command: MKDIR DIR('/REPORTS')
To allow all users to access the /REPORTS directory, the user should check the /REPORTS IFS directory to make sure that AS/400 security for *PUBLIC is set to *RWX.
Use the following steps to verify the security/change authority for directory /REPORTS
1.) From the AS/400 command line, run the following command: WRKLNK OBJ('/REPORTS')
2.) When the "Work with Object Links" screen is shown, select option 9. (Work With Authority) and press Enter.
3.) The data authority for user *PUBLIC shoud be: *RWX. If not, change the authority to *RWX using option 2. (Change user authority).
