From a6ba5d99bf639aa407e0c35311e7fb899b26ba71 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Fri, 13 Nov 2020 17:41:59 +0100 Subject: [PATCH] chmod for link children too --- dotdrop/cfg_yaml.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dotdrop/cfg_yaml.py b/dotdrop/cfg_yaml.py index 663d06e..2d83512 100644 --- a/dotdrop/cfg_yaml.py +++ b/dotdrop/cfg_yaml.py @@ -340,9 +340,7 @@ class CfgYaml: # chmod if chmod: - lnkval = df_dict.get(self.key_dotfile_link, None) - if lnkval != self.lnk_children: - df_dict[self.key_dotfile_chmod] = str(format(chmod, 'o')) + df_dict[self.key_dotfile_chmod] = str(format(chmod, 'o')) # add to global dict self._yaml_dict[self.key_dotfiles][key] = df_dict