We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c35869 commit fd6260cCopy full SHA for fd6260c
1 file changed
src/uu/chmod/src/chmod.rs
@@ -523,10 +523,7 @@ impl Chmoder {
523
}
524
Err(err) => {
525
let error = if err.kind() == std::io::ErrorKind::PermissionDenied {
526
- ChmodError::PermissionDenied(
527
- entry_path.to_string_lossy().to_string(),
528
- )
529
- .into()
+ ChmodError::PermissionDenied(entry_path).into()
530
} else {
531
err.into()
532
};
0 commit comments