Questions tagged [fakechroot]

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

7 questions
3
votes
2 answers

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 software I needs with option…
1
vote
1 answer

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 fakechroot fakeroot -s .fakeroot.state debootstrap…
user149408
  • 1,105
  • 1
  • 14
  • 23
1
vote
2 answers

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 I would like to be able to constraint this user…
VaTo
  • 3,071
  • 3
  • 18
  • 47
1
vote
1 answer

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), but, first of all I think it requires the user to…
cesss
  • 318
  • 1
  • 8
1
vote
1 answer

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 couple of different binaries that actually need…
TheMP
  • 143
  • 1
  • 5
1
vote
0 answers

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=en_US.UTF-8 \ fakeroot-ng -f…
0xC0000022L
  • 16,189
  • 24
  • 102
  • 168
0
votes
1 answer

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 "/" to the jail. This is important since I use the…
hypnomaki
  • 111
  • 6