Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Install root-only tools owned by root

オープン
#7,845 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, typescript

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
58
フォーク
65
平均マージ
11時間 31分
マージ済み PR(30日)
443

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

containerbase/base のほかの issue

containerbase/base の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。