pub enum RootAccessSummary {
NotApplicable,
Created {
path: PathBuf,
admits: Vec<AdmittedTrustee>,
},
AlreadyReconciled {
path: PathBuf,
admits: Vec<AdmittedTrustee>,
},
Reconciled {
path: PathBuf,
admits: Vec<AdmittedTrustee>,
},
}Expand description
What creating or reconciling the default runner root amounted to.
Carried out of service install and service set-start-mode so a command
can print it. It names trustees by AdmittedTrustee rather than by SID, so
printing the whole value adds no identity to the output.
Variants§
NotApplicable
Not a Windows host. Nothing was created and nothing was re-permissioned.
macOS and Linux keep the runner root the application-data runtime
directory has always been, and its permissions are the ones
AppPaths already establishes. There is no inherited-broad-grant
problem to solve, and inventing one would move live workspaces for no
reason (02-target-architecture.md, “Platform defaults”).
Created
The root did not exist and was created with its access control applied by the call that created it.
AlreadyReconciled
The root existed and already admitted exactly the right trustees.
Reconciled
The root existed and its access control was rewritten.
Implementations§
Trait Implementations§
Source§impl Clone for RootAccessSummary
impl Clone for RootAccessSummary
Source§fn clone(&self) -> RootAccessSummary
fn clone(&self) -> RootAccessSummary
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more