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

git error: detected dubious ownership

オープン
#63 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
docker, git, shell

調査の方向性

Reproduce srtool build -p rococo-runtime --root --profile production with the reported srtool and Docker versions on Ubuntu 22.04.2 LTS, then trace the build step that invokes Git in /build. Done means the production build remains successful without repeated detected dubious ownership messages.

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

説明

On Polkadot commit 131fd38b998c861f766909727a600cac201d64d8 with srtool version

{
  "name": "srtool",
  "version": "0.10.0",
  "rustc": "1.69.0",
  "subwasm": "v0.19.1-n/a",
  "tera": "0.2.4",
  "toml": "0.2.4"
}

srtool build -p rococo-runtime --root --profile production on Ubuntu 22.04.2 LTS (user is in group Docker) produces:

    Finished production [optimized] target(s) in 5m 19s                                                                                                        
✨ Your Substrate WASM Runtime is ready! ✨                                                                                                                    
fatal: detected dubious ownership in repository at '/build'                                                                                                    
To add an exception for this directory, call:                                                                                                                  
                                                                                                                                                               
        git config --global --add safe.directory /build                                                                                                        
fatal: detected dubious ownership in repository at '/build'                                                                                                    
To add an exception for this directory, call:                                                                                                                  
                                                                                                                                                               
        git config --global --add safe.directory /build                                                                                                        
fatal: detected dubious ownership in repository at '/build'                                                                                                    
To add an exception for this directory, call:                                                                                                                  
                                                                                                                                                               
        git config --global --add safe.directory /build                                                                                                        
Summary generated with srtool v0.10.0 using the docker image paritytech/srtool:1.69.0

Build is still successful.

主要言語
Shell
スター
76
フォーク
24
PR マージ指標
30日以内にマージされた PR はありません

環境構築

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

はじめの一歩

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

paritytech/srtool のほかの issue

paritytech/srtool の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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