Skip to main content

create_restricted_dir

Function create_restricted_dir 

Source
pub fn create_restricted_dir(path: &Path) -> Result<()>
Expand description

Create a directory with restrictive permissions (0o700 on Unix).

Args:

  • path - Directory path to create (including parents).