Skip to main content

Questions tagged [fakechroot]

Gives a fake chroot environment without superuser (root) privileges.

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 ...
user149408's user avatar
  • 1,343
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 "/" ...
hypnomaki's user avatar
  • 111
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 ...
VaTo's user avatar
  • 3,181
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), ...
cesss's user avatar
  • 318
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 ...
TheMP's user avatar
  • 143
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 ...
Nicop's user avatar
  • 231
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=...
0xC0000022L's user avatar
  • 16.8k