-   Linux - General (
-   -   Home Jail Folder Structure like Gobolinux Directory Structure (

luispt 07-25-2008 08:30 AM

Home Jail Folder Structure like Gobolinux Directory Structure
Some time ago (about 2 months) I was searching in google informations about chroot tutorials, and I came across with a page that had a litle program that creates a chroot jail in home directory and all programs and files are installed under a single directory (just like windows file system).

The problem is that I've lost that page link and I can't even remember the name of the that program.

I've already made inumerous searches in google, hoping to came across to that page link, but there's no way to find it :( :(

The only thing that I find is Gobolinux, but I'm sure that wasn´t nothing related to gobolinux.
It was a package/script to install under ubuntu (or other distribution) that would create a jail in home directory and when i wanted to compile a program from source, all the files were placed under a unique folder (just like gobolinux way).

Does anybody know anything about this?

Could you give a help trying to find this package/script???

(maybe my search string in google were something related to chroot+jail+server, because the idea was to let users to install/compile programs under a home jail SERVER folder).


bigrigdriver 07-25-2008 09:36 AM

I found this article which has a link to this script that does something similar to what you describe, but not exactly the same.

Is this what you are looking for?

luispt 07-25-2008 05:24 PM

Thanks bigrigdriver, but it isn't that.

But I think that it was about creating a jail in home folder and them all the files of a program installed inside that jail were saved under one single directory (just like windows), with some symbolic links to some libraries of course.

I will try to search for that.

Thanks in advance for all your help.

luispt 07-26-2008 06:46 PM

Just passing here to tell you that I've found it. Well, somebody found it and told me.

smartboyathome (in ubuntuforum) just pointed me to the right direction.

It's a script developed by Gobolinux people. The name of the script is Rootless, and you can find it HERE.


Rootless GoboLinux

If you want to have a taste of how GoboLinux feels like before installing the real thing, you have two options.


The second option, is to make a minimal installation of the scripts and directory hierarchy inside your home directory. We call it "Rootless GoboLinux".

After installing Rootless, you will be able to install packages using the GoboLinux scripts and execute them inside your user environment, doing it the GoboLinux way. However, you won't be able to generate valid GoboLinux binary packages since all paths in your installations will be relative your particular home directory. GoboLinux Recipes should be compatible with normal and Rootless installations.

Rootless GoboLinux was created so that people who are using GoboLinux at home can take advantage of our directory tree inside their user accounts at places where they can't decide which Linux distribution they use (eg, at work or at the university's lab). Don't hesitate to contact us for more information if needed.

Installing Rootless

In order to install Rootless GoboLinux, all you have to do is to download and run the CreateRootlessEnvironment script (you will need to run "chmod +x CreateRootlessEnvironment" in order to be able to execute the downloaded file).

The above mentioned script does some simple tasks. Basically:

* Creation of stub "Programs" and "System" directories
* Installation of the Scripts package
* Creation of a 'StartRootless' scripts, which is sourced within ~/.zshrc or ~/.bashrc


CreateRootlessEnvironment and the GoboLinux scripts assume the basics of a GNU userland available (which is usually not an issue in Linux-based systems, but may not be the case in other ones). Before running the script, make sure at least these tools are available in your $PATH:

* GNU Bash
* GNU CoreUtils
* GNU Sed
* GNU Wget

Uninstalling Rootless

If you need for any reason to remove Rootless later, it's just a matter of taking away ~/Programs, ~/System and ~/.Settings -- pretty simple.

All times are GMT -5. The time now is 02:31 AM.