diff --git a/src/apply.rs b/src/apply.rs index 7c714af..a475483 100644 --- a/src/apply.rs +++ b/src/apply.rs @@ -90,7 +90,7 @@ pub async fn file(file: &File, root: &str, dry_run: bool) -> Result<()> { return Ok(()); } - if file.is_symlink() { + if !file.is_symlink() { set_perms(path, file.mode).await?; }