Hello Michael,

Am 30.12.2019 um 14:56 schrieb Michael Quigley <MichaelQuigley@xxxxxxxxxx>:

I think I've done this before, but I'm at a loss as to how to set the DTAAUT
authority for a folder I'm creating with the mkdir() API. I can easily set
the object authorities, but without data authorities the new folder is
worthless.

Seems you need to call CHGAUT after creation separately. mkdir() comes from UNIX and UNIX doesn't know about the special authorities from IBM i. :-)

Further reading:
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/apis/mkdir.htm
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/apis/umask.htm

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.