Skip to content

Ubuntu 24.04 PLUS root-less building#57

Open
adamboutcher wants to merge 4 commits intosecdec-research:masterfrom
adamboutcher:U24-NoRoot
Open

Ubuntu 24.04 PLUS root-less building#57
adamboutcher wants to merge 4 commits intosecdec-research:masterfrom
adamboutcher:U24-NoRoot

Conversation

@adamboutcher
Copy link
Copy Markdown
Contributor

The requirement for root to build is purely for fake-root (and the weird chmod 777 /tmp).

A modern Linux system should allow for sub*ids eg subuid and subgid; if they don't then you need to edit /etc/subuid and /etc/subgid.

This will also allow you to run sudo ./build.sh to also not require the sub*ids

@magv
Copy link
Copy Markdown
Collaborator

magv commented Mar 3, 2026

In principle, I agree. The strange chmods and sudos are there to make it work on some of the systems we've used in the past; I hope it's not needed anymore, but we'll need to test first. This might take some time though.

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.

2 participants