pub struct ProtectedPaths {
pub paths: Vec<PathBuf>,
}Expand description
Host paths no runner or job may reach, which the operator names with
host protect-path.
On Linux the systemd unit lists them in InaccessiblePaths=, so inside the
unit the kernel replaces each with a node of mode 000: no runner or job,
in any pool account, reaches it, whatever its own permissions. Measured on
Ubuntu 26.04: rm-runner-1 reads such a file on the host and gets
Permission denied inside the unit. The
list is read when the service is registered, so a change takes effect when
it is registered again. Windows and macOS have no equivalent the installer
can set, so there it is refused rather than written and silently ignored.
Fields§
§paths: Vec<PathBuf>Implementations§
Trait Implementations§
Source§impl Clone for ProtectedPaths
impl Clone for ProtectedPaths
Source§impl Debug for ProtectedPaths
impl Debug for ProtectedPaths
Source§impl Default for ProtectedPaths
impl Default for ProtectedPaths
Source§impl<'de> Deserialize<'de> for ProtectedPaths
impl<'de> Deserialize<'de> for ProtectedPaths
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProtectedPaths
Source§impl PartialEq for ProtectedPaths
impl PartialEq for ProtectedPaths
Source§impl Serialize for ProtectedPaths
impl Serialize for ProtectedPaths
impl StructuralPartialEq for ProtectedPaths
Auto Trait Implementations§
impl Forget for ProtectedPaths
impl Freeze for ProtectedPaths
impl RefUnwindSafe for ProtectedPaths
impl Send for ProtectedPaths
impl Sync for ProtectedPaths
impl Unpin for ProtectedPaths
impl UnsafeUnpin for ProtectedPaths
impl UnwindSafe for ProtectedPaths
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more