From bf9688933251059ed9c321d4cdadbad2ff6d28f7 Mon Sep 17 00:00:00 2001 From: SuperCuber Date: Sat, 17 Feb 2024 17:33:48 +0200 Subject: [PATCH] Do not chown on existing symlink Fixes #153 --- src/actions.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/actions.rs b/src/actions.rs index 004eaba..05d4a69 100644 --- a/src/actions.rs +++ b/src/actions.rs @@ -408,8 +408,6 @@ pub fn update_symlink( match comparison { SymlinkComparison::Identical => { debug!("Performing update"); - fs.set_owner(&target.target, &target.owner) - .context("set target symlink owner")?; Ok(true) } SymlinkComparison::OnlyTargetExists | SymlinkComparison::BothMissing => {