Docs: say that the elevated plugin install runs the per-user ZOrbit.exe

Aperta Adatta ai principianti
#88 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
92/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
powershell, python

Direzione di ricerca

Inizia da docs/bridge.md intorno alla riga 50, quindi esamina la sezione sulle limitazioni note di SECURITY.md e l’affermazione vicino alla riga 33 di docs/install.md. Verifica la formulazione proposta rispetto al comportamento descritto: l’helper con privilegi è il ZOrbit.exe specifico dell’utente. Il lavoro è completo quando tutti e tre i documenti spiegano correttamente tale limitazione, inclusi l’avviso di attendibilità e il motivo per cui non può essere risolta.

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

Descrizione

bridge documentation

From the audit of ZOrbit 0.11.0 (31 October 2026). Decided: accept the limitation and state it.

Installing or removing the ZScript plugin in a ZBrush under Program Files runs ShellExecuteEx with the runas verb on sys.executable, which is the per-user %LOCALAPPDATA%\Programs\ZOrbit\ZOrbit.exe (the installer is PrivilegesRequired=lowest). The elevated helper does ignore the staging folder and builds the plugin from the bundled .zsc, but that .zsc, python312.dll and every DLL in _internal sit in the same user-writable folder, and _make_shortcut starts a bare powershell.exe. Anything already running as the user can swap the exe and wait for the user to press Install. Nothing in the code can change that while the app installs per user and never asks for administrator rights itself.

docs/bridge.md:50 says the opposite: "builds the plugin files from the installation's own copies, so nothing from a user-writable folder is copied with administrator rights."

Fix

  • docs/bridge.md:50: "The elevated step ignores the staging folder and builds the plugin files itself, but it is ZOrbit's own program running from your user folder, so approve the prompt only on a PC you trust."
  • SECURITY.md: a known-limitations paragraph with the reason.
  • docs/install.md:33 ("A ZBrush under Program Files asks for administrator rights once"): one clause on what the prompt elevates.

Audit ids: F011, F026, F203, F394.

Lingua principale
Python
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 combwizard/ZOrbit

Tutte le issue di combwizard/ZOrbit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.