Ask a question
Fuel your AI at the ultimate IBM learning event
IBM TechXchange Conference October 21-24, 2024 Mandalay Bay - Las Vegas
When trying to access the QNTC file system, is adopted authority ignored?
Dear Teresa
Adopted authority works ONLY WITHIN QSYS file system. It does not work with the rest of IFS (including QNTC). More information here: Managing Authorities to IFS Objects by Carol Woodbury at https://www.mcpressonline.com/security/ibm-i-os400-i5os/managing-authorities-to-ifs-objects.
One thing you can use for IFS access control (outside of QSYS file system) is Profile Swap API. More about this here: https://www.itjungle.com/2015/12/09/tfh120915-story04/ Its downside (compared to adopted authority) is that you need to write program code to do the swap but the code is not complex. A sample for CL coding is here: https://www.ibm.com/docs/en/i/7.4?topic=programs-example-using-profile-handles
------------------------------Satid S------------------------------
------------------------------Teresa Heckman------------------------------
I think the answer to what you're trying to ask is "Yes" but can you describe what you are trying to accomplish?