Windows sharing: enabling a fresh test home can fail the directory owner check

Aperta
#2,293 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, go

Direzione di ricerca

The failure comes from the owner SID check in runtime/native-sharing/private_windows.go, which the helper's enable command reaches before the shutdown assertions run. Start by reading that check and the Windows shutdown test that calls enable, then compare the two linked CI jobs to see which runner configuration differs. Done means the shutdown assertions run on the affected Windows runners, and a directory owned by another user is still rejected.

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

Descrizione

P2

The Windows sharing shutdown flow failed in two independently created temporary homes on PR #2289, commit 61b8b417b. The helper's enable command exited with sharing directory has a different owner before either shutdown assertion ran. The named-pipe file receipt test passed in the same job. Failing Windows job

The same shutdown tests passed on the previous PR head on a different Windows runner. The helper creates the sharing directory and checks its owner SID against the process user SID before applying the user-only ACL. That code is identical on the PR and its main parent. The logs do not identify the directory owner or the process token's default owner. Previous passing job · Owner check

Verify how a newly created, isolated home acquires its directory owner under the affected Windows runner configuration. The shutdown flow should reach its success and failure assertions on supported runners, and existing directories owned by another user should continue to be rejected.

Lingua principale
Rust
Stelle
584
Fork
42
Merge medio
9h 41m
PR unite (30g)
929

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 arcships/dim

Tutte le issue di arcships/dim

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.