From 6d82494d99e85fd31ff0d149c1f5a721239c4f2d Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Mon, 25 Nov 2024 17:01:09 +0000 Subject: [PATCH] remove execution permission. Cookbooks generally don't need it --- packaging/rpm/cookbook-rb-firewall.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/packaging/rpm/cookbook-rb-firewall.spec b/packaging/rpm/cookbook-rb-firewall.spec index 8d293ff..324f75c 100644 --- a/packaging/rpm/cookbook-rb-firewall.spec +++ b/packaging/rpm/cookbook-rb-firewall.spec @@ -19,7 +19,7 @@ Source0: %{name}-%{version}.tar.gz %install mkdir -p %{buildroot}/var/chef/cookbooks/rb-firewall cp -f -r resources/* %{buildroot}/var/chef/cookbooks/rb-firewall -chmod -R 0755 %{buildroot}/var/chef/cookbooks/rb-firewall +chmod -R 0644 %{buildroot}/var/chef/cookbooks/rb-firewall install -D -m 0644 README.md %{buildroot}/var/chef/cookbooks/rb-firewall/README.md %pre @@ -37,11 +37,10 @@ case "$1" in esac %files -%defattr(0755,root,root) -/var/chef/cookbooks/rb-firewall %defattr(0644,root,root) -/var/chef/cookbooks/rb-firewall/README.md - +/var/chef/cookbooks/rb-firewall +# %defattr(0644,root,root) +# /var/chef/cookbooks/rb-firewall/README.md %doc