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
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...