Error Set FChmodAtError [src]
Errors
path
resolves to a symbolic link, and AT.SYMLINK_NOFOLLOW
was set
in flags
. This error only occurs on Linux, where changing the mode of
a symbolic link has no meaning and can cause undefined behaviour on
certain filesystems.
The procfs fallback was used but procfs was not mounted.
The procfs fallback was used but the process exceeded its open file limit.
The procfs fallback was used but the system exceeded it open file limit.
The Operating System returned an undocumented error code.
This error is in theory not possible, but it would be better to handle this error than to invoke undefined behavior.
When this error code is observed, it usually means the Zig Standard Library needs a small patch to add the error code to the error set for the respective function.
Source
pub const FChmodAtError = FChmodError || error{
/// A component of `path` exceeded `NAME_MAX`, or the entire path exceeded
/// `PATH_MAX`.
NameTooLong,
/// `path` resolves to a symbolic link, and `AT.SYMLINK_NOFOLLOW` was set
/// in `flags`. This error only occurs on Linux, where changing the mode of
/// a symbolic link has no meaning and can cause undefined behaviour on
/// certain filesystems.
///
/// The procfs fallback was used but procfs was not mounted.
OperationNotSupported,
/// The procfs fallback was used but the process exceeded its open file
/// limit.
ProcessFdQuotaExceeded,
/// The procfs fallback was used but the system exceeded it open file limit.
SystemFdQuotaExceeded,
}