diff --git a/src/uu/chmod/src/chmod.rs b/src/uu/chmod/src/chmod.rs index bf6e81305..26b3fd85b 100644 --- a/src/uu/chmod/src/chmod.rs +++ b/src/uu/chmod/src/chmod.rs @@ -260,7 +260,7 @@ impl Chmoder { // instead it just sets the readonly attribute on the file Err(0) } - #[cfg(any(unix, target_os = "redox"))] + #[cfg(unix)] fn chmod_file(&self, file: &Path) -> Result<(), i32> { use uucore::mode::get_umask;