Re: Permissions of IFS file created with QZRUCLSP

"Dennis Lovelady" <iseries-HF96MFG82JhWk0Htik3J/[email protected]> Wed, 16 Mar 2011 18:19:15 -0400
Newsgroups gmane.comp.lang.as400.mi
Message-ID <001601cbe428$2faaab50$8f0001f0$@com>
Thanks, Chuck.

Sorry, I got lost.  Probably not [what] since the RPG did not experience the
issue?

I'll post the RPG code later.

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"You can teach a student a lesson for a day; but if you can teach him to
learn by creating curiosity, he will continue the learning process as long
as he lives."
        -- Clay P. Bedford 


> On 3/16/11 12:58 PM, Dennis wrote:
> > Folks, I have posted MI code at
> > http://code.midrange.com/9176a9360c.html that:
> >    - Deletes file mi-ifs-file.txt from the current directory
> >    - Creates a new file by same name in the current directory
> >    - Writes a line if all successful
> >    - Closes that file
> >
> > It creates the file just fine, except that there are no permissions
> > (flags ----------). I am absolutely convinced that this is my error
> > (I used the same concept in RPG and it worked great), but my eyes
> > don't see where I might have gone wrong. Would some kind soul mind
> > steering me in the right direction?
> >
> > The all-upper-case labels/names are for convenience of debugging. If
> > there is a way to make the debugger work with mixed-case names, I'd
> > really like to know about it.
> >
> > This is an extract of a much larger source, dummied up to make it
> > usable for this topic.
> >
> 
>    Probably not if same test in RPG did not experience the issue...
> 
>    Perhaps an O_INHERITMODE flag issue due to directory permissions?
> Refer to rzamv.pdf or equivalent docs w/ heading "The integrated file
> system approach to security" such as:
> http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzamv/rzamv
> planifssec.htm
> 
> Regards, Chuck

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.