Function cap_primitives::fs::set_symlink_permissions
source ยท pub fn set_symlink_permissions(
start: &File,
path: &Path,
perm: Permissions,
) -> Result<()>
Expand description
Perform a chmodat
-like operation, ensuring that the resolution of the
path never escapes the directory tree rooted at start
, without following
symlinks.