Skip to main content

folder_others_can_change

Function folder_others_can_change 

Source
pub fn folder_others_can_change(dir: &Path) -> Option<String>
Expand description

Why an account other than this user, root or the admin group (whose members can become root anyway) could change the entries of the folder that holds an app, or None when none can. An in-place upgrade creates, checks and renames entries there, so anyone else who can rename them could swap a checked bundle for another. macOS also checks every folder above it, since renaming one of those moves the whole path.