Hi Vern,
I am learning this, too. Per Aaron's previous note, you cannot access
QSYS.LIB from Chroot. Actually, that is the point. You can't get anywhere
from a Chroot, which is why it is often times referred to as a jail. You
are locked in there by the sys admin and you can't get anywhere else
without special features like DRDA access in PHP or the XML Toolkit, etc.
The chroot is actually past the qsys.lib file system and once you're in
the chroot, you cannot look at other directory structures outside of the
chroot. You can have all the directories, and your own PASE environment
in the chroot, but you cannot mount qsys.lib. The native environment
cannot be accessed via the file system.
This is actually a good thing as you can also not harm anything outside
the chroot, which is also the point. Harm accidental or intended is
isolated to the chroot.
Hope this helps!
Mike Pavlak
Cell: (408)679-1011 Office: (708)233-5880
-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Vernon
Hamberg
Sent: Tuesday, October 27, 2015 10:06 AM
To: Web Enabling the IBM i (AS/400 and iSeries)
Subject: Re: [WEB400] chroot, Doctrine, ZendFrameWork
Hmm - allow me to press a bit more - so if you chroot to the IASP's
directory, /IASPVERN, and there are programs in /IASPVERN/QSYS.LIB, that
you can call such a program from some PHP or node.js app in the IASP?
I imagine we are keeping a library list thing separate from IFS path here,
right? That a program in /IASPVERN/QSYS.LIB will operate with the library
list and have access to library objects outside of the chroot environment,
but they can't operate on anything in the IFS that is outside the chroot
environment?
I hope I make a little sense - as often, VERY little!!
Vern
On 10/27/2015 7:49 AM, Aaron Bartell wrote:
I suppose you could get at data in the QSYS.LIB that shows up within
an
IASP - but not be able to run programs - am I getting it?
If you have authority you can access data and call programs.
Aaron Bartell
litmis.com - Services for open source on IBM i
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.