Aug 28, 2009 1:28 PM
MKDIR() for IFS - with inherit authorization list object authority from parent directory
I am on v5r4 am have written a small utility to create directries on the IFS in RPGLE. I am using the unix api: mkdir(). I want to inherit the authorization list from the parent directory. Is this possible with mkdir(? If it is can someone please proivde an example.
Example line of code:
If mkdir(%trim(BillPayDirectory) :S_IRWXU + S_IRWXG + S_IRWXO) < 0;
Thanks!!