I defined a custom fact by placing it in the facts.d folder in the module I created. When I do an agent run the file is copied to the client but fails with “was parsed but returned an empty data set”. This appears to be due to the file having the incorrect permission (644). If I manually change the permission on the fact on the client to 744, the fact is executed properly. The fact file on the server has the correct permission (744). Is there a place to set permissions on facts in facts.d?
I defined a custom fact by placing it in the facts.d folder in the module I created. When I do an agent run the file is copied to the client but fails with “was parsed but returned an empty data set”. This appears to be due to the file having the incorrect permission (644). If I manually change the permission on the fact on the client to 744, the fact is executed properly. The fact file on the server has the correct permission (744). Is there a place to set permissions on facts in facts.d?