Patrik,

Thanks for the response. That's pretty much what I had planned to do as a
workaround. But it certainly seems backwards. The *OBJEXIST, *OBJMGT, etc.
authorities are more IBM I specific whereas the *RWX authority is more
universal to other systems.

Danke,
Michael Quigley
Computer Services
The Way international
www.TheWay.org



-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf
Of Patrik Schindler
Sent: Monday, December 30, 2019 9:50 AM
To: Midrange Systems Technical Discussion <midrange-
l@xxxxxxxxxxxxxxxxxx>
Subject: Re: mkdir() API and IFS authorities

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/m
kdir.htm
https://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_74/apis/u
mask.htm

:wq! PoC

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

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2022 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.