Questions tagged [fakechroot]
Gives a fake chroot environment without superuser (root) privileges.
7
questions
1
vote
1
answer
358
views
debootstrap --second-stage with fakechroot fails on docker (/lib/ld-linux-armhf.so.3: No such file or directory)
I am trying to set up a foreign chroot in a docker container. Excerpt from the script:
apt-get -y install debootstrap fakechroot fakeroot qemu-user-static binfmt-support
mkdir -p $CROSS_ROOT
...
0
votes
1
answer
360
views
Lazy unmount root jail drives
I have created a root jail containing rpm and yum (centos 7.5) to install some software on the original system.
Workflow
Mount sys, proc, dev to the root jail
Mount root of the original system "/" ...
1
vote
2
answers
3k
views
chroot an user to more than one directory in different locations
I would like to know how I can constraint a user to only be able to access and have RWX permissions to directories like /etc/httpd, /etc/php and /var/www/html as well as its own home directory.
Also ...
1
vote
1
answer
542
views
fakechroot-like functionality in MacOS?
I want to use a chroot approach when building executables in MacOS, for having great control of the files and libraries they use. Ideally maybe chroot would be enough (and it is available in MacOS), ...
1
vote
1
answer
817
views
How to do fake chroot in RHEL/CentOS 7
I want to do primitive 'virtualization' of my RHEL environment. This comes out of the fact that I have to run a couple of binaries with hardcored paths pointing to eg. /etc/conf directory. There is a ...
3
votes
2
answers
2k
views
Install userspace programs on server without root access
I would like to install some programs on my work development server because it is missing some programs I need for my day to day job. I don't have root access.
What I did up to now is compiling the ...
1
vote
0
answers
853
views
fakeroot-ng with debootstrap variant fakechroot hangs on makedev
So I am trying to bootstrap a Ubuntu as unprivileged user on Ubuntu. The little script I am using is:
#!/usr/bin/env bash
DEBARCHIVE_URL="http://localhost:3142/de.archive.ubuntu.com/ubuntu/"
LANG=...