Skip to content

Do not test euid=0 before going chroot#549

Closed
bastien-roucaries wants to merge 1 commit intoapache:trunkfrom
bastien-roucaries:chroot
Closed

Do not test euid=0 before going chroot#549
bastien-roucaries wants to merge 1 commit intoapache:trunkfrom
bastien-roucaries:chroot

Conversation

@bastien-roucaries
Copy link

Nowaday chroot need CAP_SYS_CHROOT capability in its user namespace, and could work without root.

Will allow to use chroot with lesser permission.

Nowaday chroot need CAP_SYS_CHROOT capability in its user namespace, and could
work without root.

Will allow to use chroot with lesser permission.
@bastien-roucaries
Copy link
Author

@notroj could you propose for backport for 2.4

notroj added a commit to notroj/httpd that referenced this pull request Dec 19, 2025
  Do not test euid=0 before going chroot

Nowaday chroot need CAP_SYS_CHROOT capability in its user namespace, and could
work without root.

Will allow to use chroot with lesser permission.

Submitted by: Bastien Roucariès <rouca debian.org>
PR: 69767
Github: closes apache#549

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927804 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 5c9c78d)
notroj added a commit to notroj/httpd that referenced this pull request Jan 2, 2026
  Do not test euid=0 before going chroot

Nowaday chroot need CAP_SYS_CHROOT capability in its user namespace, and could
work without root.

Will allow to use chroot with lesser permission.

Submitted by: Bastien Roucariès <rouca debian.org>
PR: 69767
Github: closes apache#549

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1927804 13f79535-47bb-0310-9956-ffa450edef68
(cherry picked from commit 5c9c78d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant