Skip to main content

chmod

Function chmod 

Source
pub fn chmod(addr: UnixSocketAddr<'_>, mode: u32) -> Result<(), CoreError>
Expand description

Change mode bits on a Unix socket filesystem path.

ยงErrors

  • EACCES: Permission denied.
  • ENOENT: The socket path does not exist.
  • EPERM: The caller does not own the file.