[bug] settings.system.json system-folder Edit denies use a single leading slash,…
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- json
- 領域
- tooling
調査の方向性
settings.system.json を開き、227-231 行目、System、bin、etc、sbin、usr に対する 5 つの Edit(...) 拒否エントリに移動します。Claude Code の権限ドキュメントの "How path patterns match" セクションと比較してください。そこでは、先頭のスラッシュが 1 つの場合は設定ソースでアンカーされ、先頭のスラッシュが 2 つの場合は絶対パスであると説明されています。各エントリを二重スラッシュ形式(例: Edit(//usr/**))に変更し、ファイルが引き続き有効な JSON であることを確認してください。5 つのルールすべてが絶対形式を使用していれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened
the system-folder Edit denies in settings.system.json use a single leading slash, which Claude Code anchors at the config dir, so the real system folders are not covered
Summary
settings.system.json:227-231 (release 8.761.0, unchanged on main) has five Edit(...) denies for the system folders System, bin, etc, sbin and usr, each written with one leading slash. Claude Code's permission docs (code.claude.com/docs/en/permissions, "How path patterns match") say: "The single leading slash anchors at the settings source, not the filesystem root", and a double leading slash is the absolute form. For user settings the source is the Claude config dir, so these five rules guard folders of those names inside the config dir, not the system folders.
Harm is small today (writing to the real folders needs root), but the rules read as a system-folder guard and do not act as one.
Suggested fix: write each of the five with a double leading slash, e.g. Edit(//usr/**).
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- 主要言語
- TypeScript
- スター
- 19.9k
- フォーク
- 2.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
danielmiessler/LifeOS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
danielmiessler/LifeOS#2940 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
danielmiessler/LifeOS#2939 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
danielmiessler/LifeOS#2938 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2936 ·
メンテナーはふだん 4 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
danielmiessler/LifeOS#2935 ·
メンテナーはふだん 4 日以内に返信
danielmiessler/LifeOS の issue をすべて見る
似ている issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
drydocs/meridian#1503 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
refactor review: high
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
1lck/Lithe-IDEA#2376 ·
メンテナーはふだん 1 日以内に返信
-
bug extension mcp
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verification対応中かも @roboclaw-bot が今日担当しました。 オープンclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
openclaw/openclaw#204323 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信