Security

Directory and config file permissions keep getting reset by Splunk (need 744)

the_wolverine
Champion

We have a workaround in place to address the replication bug in our current version of Splunk (4.1x). Our /opt/splunk/etc/ directory is shared to the indexers via nfs export and replication is disabled.

Unfortunately, when a change is made to props.conf, Splunk changes the permissions of the directory and files (/opt/splunk/etc/apps/search/local/props.conf) to 700.

I have manually changed permissions to 744 only to have them changed back when I (or another user) make a change, such as add field extractions, from UI. This breaks all custom field extractions.

How can I force Splunk not to change the permissions on these directories and files?

1 Solution

the_wolverine
Champion

This is a known issue and splunk support should be able to confirm and answer it. So, I'm surprised they have not responded here yet.

View solution in original post

yoho
Contributor

Maybe changing the umask when splunk gets started would change something to this situation ?

0 Karma

the_wolverine
Champion

This is a known issue and splunk support should be able to confirm and answer it. So, I'm surprised they have not responded here yet.

anderius
Explorer

What happened? Was it solved? This is not a solution/answer to the problem for other people reading the post... 🙂

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...