IFS – security, Using mkdir() and I want new directory to inherit authorization list from it’s parent directory

5 pts.
Tags:
IFS
iseries v5r4
iseries rpgle pgm Using mkdir() and I want new directory to inherit authorization list from it's parent directory. i am not clear on what mode to set. Can this be accomplished using mkdir() or should I be usinf another command? Thanks in advance Debbie

Software/Hardware used:
iseries v5r4

Answer Wiki

Thanks. We'll let you know when a new response is added.

With the mkdir() I believe the authority will default to create the object with the parent dirctoty authority.

One exception is if the object being created uses the CPYTOIMPF as IBM has told me that this command when creating a file from the AS/400 database to an IFS object does not support adopting the parent directory authority.

We have found that out with JDE EnterpriseOne created objects to the IFS for transfer using the CPYTOIMPF command.

We have to modify the program or run a script to place authority on any items in that directory and run this several times a day or incorporate it into the scheduler job to run after the job that just created the IFS object.

Hope this helps

Lovemyi

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following