Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Install root-only tools owned by root

Aperta
#7,845 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, typescript

Direzione di ricerca

Start by locating the needsRoot tool installation logic and the container tests that install tools such as git. Check how versioned tool folders are created, how uninstall and reinstall work as root, and which current tools require root. Done means those folders and files are root-owned and not writable by the container user, links still work, and container tests verify ownership.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

What would you like containerbase to do?

Install the tools that need root (needsRoot, e.g. git) owned by root, so the files only root may install can't be changed by the container user afterwards.

Background

  • Tool versions live under the tools folder, which the container user owns, so they can be installed at runtime without root.
  • needsRoot tools are installed by root, but their files end up writable for the container user too, like every other tool.
  • That's not a security boundary (the user can install and run tools anyway), but root-only tools are the ones root runs, e.g. git with the system config in /etc/gitconfig, so they should be owned by root like any other system binary.

Proposal

  • For needsRoot tools, create the versioned tool folder and its files owned by root and not writable for the container user; the links stay as they are.
  • Keep uninstall and re-install working as root.
  • Check which current tools are needsRoot and test the ownership in the container tests (e.g. git).

Drafted by Claude Opus 5.5 (Claude Code) for @viceice.

Lingua principale
TypeScript
Stelle
58
Fork
65
Merge medio
11h 31m
PR unite (30g)
443

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di containerbase/base

Tutte le issue di containerbase/base

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.