Questions tagged [chroot]
A chroot on Unix operating systems is an operation that changes the apparent root directory for the current running process and its children. A program that is run in such a modified environment cannot name (and therefore normally not access) files outside the designated directory tree.
595
questions
0
votes
1
answer
48
views
Chroot: Write access to an SFTP directory by non-root users?
Task given: Set up an SFTP server for ~100 clients
and fill their ./in directory with pricelists.
The pricelist per client is updated and maintained
by a different user-account (≠root) in the normal ...
0
votes
0
answers
28
views
Difference between 'source', 'chroot' and 'session' schroot namespaces
From schroot man page:
Source chroots
Some chroot types, for example LVM snapshots and Btrfs snapshots,
provide session-managed copy-on-write snapshots of the chroot. These
also provide a source ...
-6
votes
3
answers
90
views
Remove chroot outright
So chroot needs to go as after days of ... "research" it doesn't properly support listing an index unless you do some crazy long command and the program has to be running to even be listed. ...
0
votes
0
answers
31
views
Docker images and live-build
I'm working on constructing a live, non-persistant Debian system using live-build. In this system I need to have some containers set up and running but also need to keep the boot time of the system to ...
0
votes
1
answer
25
views
How to Avoid Copying Large Folders When Creating a chroot Sandbox Using Symlinks, Hard Links, or Bind Mount?
I am working on creating a chroot sandbox and want to avoid the time-consuming and storage-intensive process of copying large directories such as bin, lib, and others.
Is it possible to use symbolic ...
0
votes
0
answers
49
views
How do I properly chroot from a amd64 artix VM into a mounted aarch64 armtix OS image?
I want to chroot into an armtix (aarch64) OS image inside an artix VM.
I copied qemu-aarch64-static into the mounted /usr/bin
and then tried to chroot into the mounted image.
It works, however, most ...
0
votes
0
answers
23
views
After running pivot_root, how do you remove put_old?
I'm trying to replicate how a container is made for academic purposes so I've created some namespaces on an ubuntu VM and I'm trying to pivot_root into a busybox filesystem on the hard drive. I've run ...
0
votes
0
answers
106
views
xauth not running in chroot
I created a chroot environment on my computer and enabled a few different programs to run on it. I access this chroot environment through an ssh connection.
One of the application in this chroot is ...
0
votes
2
answers
180
views
Run nmcli commands in chroot environnement
I have set up a chroot environment (Ubuntu Jammy). I need to run the nmcli command for some purposes. nmcli depend on NetworkManager.service, but the systemd service isn't allowed in chroot env.
How ...
1
vote
2
answers
255
views
Debian 10 update-initramfs fails: cannot create /dev/null
trying to fix a cloned boot via chroot (new processor, hangs on boot). booted to a liveUSB and mounted the fs to /mnt. when i run update-initramfs -uv it blazes thru until near the end when it fails ...
0
votes
0
answers
78
views
Create isolated environment for user
I personally use Hyprland and keep everything pretty light.
Unfortunately, that's not really conducive to my girlfriend being able to use my computer, so I really need to install something like KDE ...
0
votes
0
answers
42
views
Bind mount the Docker socket into Alpine chroot?
I configured an OpenWrt OS on my FriendlyElec NanoPi R6s but decided to add an Alpine chroot to run other stuff in that OpenWrt doesn't have and to isolate it a little bit away; it even lives on it's ...
0
votes
0
answers
90
views
Failed getting release file while running debootstrap with root privileges
I've tried to install chroot using debootstrap with root account and receive same error everytimes.
Using debootstrap from /usr/sbin/debootstrap
Running debootstrap to install base system, this may ...
1
vote
0
answers
63
views
ACL permissions on Chroot jail
I have the Named service in a Chroot environment, I need a user to be able to modify the live files of the path /var/named/chroot/etc and I do not want to give full permissions with sudo, I have used ...
1
vote
0
answers
77
views
What is causing permission denied under proot?
At work I have limited access to my PC, so I am running proot with /nix mounted to give me access to nix package manager. However, executing some setuid commands fails under proot.
$ proot /usr/bin/...