|
on top of those problems, running a pgm with adopted authority (as the *owner instead of *user) does no better.I've been told it's a "unix thing..." (which I know nothing about) but it seems
object authorities are inherited from the parent directory. jim franz----- Original Message ----- From: <richard@xxxxxxxxxxx>
To: <midrange-l@xxxxxxxxxxxx> Sent: Thursday, January 04, 2007 10:19 PM Subject: IFS File CHGAUT Oddity
Here's an interesting one: We have a process where we need to do a CHGAUT command on an IFS file to change authorities. Ran into an odd situation where *PUBLIC has *RWX authority to an IFS file, but USERX cannot call the CHGAUT command to change authorities. The file is owned by USERY. USERY can call CHGAUT. Here's the error that occurs: CPFA0B1 - "Requested operation not allowed. Access problem." Hmmmm I thought. Full object authority should allow me to run CHGAUT against an object. Next I added an individual user authority for USERX to the file and set the user's authority to *RWX on the file and gave the user full object authorities. Still CHGAUT failed when called by USERX. Here's the interesting thing. USERX can still open/read/write or delete the file. Seems that only the owner of an IFS file or someone with *ALLOBJ authority can issue a CHGAUT command against an IFS file object even if they have full rights. Any thoughts on this ? Thanks in advance. Regards, Richard Schoen RJS Software Systems Inc. "Providing Your....iNFORMATION NOW!" Email: richard@xxxxxxxxxxxxxxx Web Site: http://www.rjssoftware.com Tel: (952) 898-3038 Fax: (952) 898-1781 Toll Free: (888) RJSSOFT --This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.