|
On 05/01/2007, at 4:36 PM, richard@xxxxxxxxxxx wrote:
I'll check this out. The pubs library is offline for some reason right now.
Yes, I wanted to check something else and found it dead (for all releases). It's back up now (7:25 PM Friday 05Jan07). I used a local copy of the PDF to check my quoted source.
By design or not, it still seems to be odd that the user can do anythingto the object except change authorities :-)
There are many inconsistencies in the way permissions for stream files and directories work when viewed from the traditional perspective. A copy that works from cp within QSHELL will fail when attempted via the CPY command under the same user. The only reliable thing is that *RWX (data permissions) and the UGO levels behave as they do on Unix. Object permissions (which don't exist in Unix) behave not quite like they do for QSYS.LIB objects.
It appears that in this case CHGAUT is consistent with the rules of chmod() but inconsistent with the rules of GRTOBJAUT.
Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
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.