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

git error: detected dubious ownership

Aperta
#63 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, git, shell

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Shell
Stelle
76
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • 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 paritytech/srtool

Tutte le issue di paritytech/srtool

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.