Commit Graph

1 Commits (6ec3e105f98f051069c5e59401a9b15d29c1aab1)

Author SHA1 Message Date
Abhijeet Kasurde a90fd26ddf
[bp-2.15] Fixes permission for cache json file to 644 (#83016)
Until ansible-core 2.12 the facts cache file created by this module, have permission set as 644 which allows the other users to read the cache, since ansible-core 2.13, we create the temporary file, but we do not set the permission after renaming the temporary file.  Adding the line to set the permission to allow other users/groups to read this file.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Rudnei Bertol Junior <rudnei@redhat.com>
8 months ago