Install root-only tools owned by root
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker, typescript
- Área
- infrastructure, security
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
needsRoottools 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
needsRoottools, 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
needsRootand test the ownership in the container tests (e.g. git).
Drafted by Claude Opus 5.5 (Claude Code) for @viceice.
- Lenguaje dominante
- TypeScript
- Estrellas
- 58
- Forks
- 65
- Merge medio
- 11 h 31 min
- PR fusionados (30 d)
- 443
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de containerbase/base
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
containerbase/base#7891 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
containerbase/base#7842 ·
Los mantenedores suelen responder en 1 día
-
priority-3-normal tool/dotnet
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
containerbase/base#5996 ·
Los mantenedores suelen responder en 1 día
-
git prebuild (OpenSSL) breaks HTTPS on FIPS-enabled hosts: "Insufficient randomness"Posiblemente ocupada @ollie-sutton la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
containerbase/base#7922 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
containerbase/base#7908 ·
Los mantenedores suelen responder en 1 día
Todos los issues de containerbase/base
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Nimblesite/SharpLsp#468 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Bundled uv is never updated and trusts the compromised eMudhra certificatesPosiblemente ocupada @FabienDanieau la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
bg_wait's blocking mode (stopOnAttention: false) is under-documented and effectively undiscoverableAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
nicobailon/pi-subagents#3019 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
db-ux-design-system/core-web#8613 ·
Los mantenedores suelen responder en 1 día