diff --git a/lib/puppet/provider/posix_acl/posixacl.rb b/lib/puppet/provider/posix_acl/posixacl.rb index 756c516..2dae274 100644 --- a/lib/puppet/provider/posix_acl/posixacl.rb +++ b/lib/puppet/provider/posix_acl/posixacl.rb @@ -122,7 +122,8 @@ def permission=(_value) end end end - set_perm(perm_to_set, @resource.value(:path)) + # It's possible we don't have any perms to set if we only removed some + set_perm(perm_to_set, @resource.value(:path)) unless perm_to_set_check.empty? end end end