× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



gulp.

The ONLY way chroots should be deleted is with rm (i.e. rm -rf
/QOpenSys/mychroot) because rm doesn't follow symbolic links. Other tools
(FileZilla, maybe RDi) ~do~ following symbolic links. Inside of a chroot
there are symlinks to /QOpenSys/usr/bin. If you're deleting the chroot
from ~outside~ it will follow the symbolic links to the base of PASE/IFS,
which means you're deleting files that will need to be restored from either
a backup or install the PASE license program again.

Aaron Bartell
IBM i hosting, starting at $157/mo litmis.com/spaces



On Mon, Aug 13, 2018 at 11:48 AM Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

I just installed chroot via the RPM. I was trying to create one, but it
kept giving an error. I tried this example command:
chroot_setup /QOpenSys/root_path minimal includes (from
https://bitbucket.org/litmis/ibmichroot)

That worked, so I tried to delete that root_path directory via RDi. That
was taking forever, so I terminated the command.

While the delete was processing, I retrieved the chroot_setup command,
changed target dir and tried again. That gave me an error on grep. Now I
get this error whenever I just run grep from a shell:
-bash: /usr/bin/grep: Permission denied


I can't help but think these things are related. Any idea what I've done?

Thanks



--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.


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-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.