Security

Is it possible to give read only permissions to the Splunk app directory?

Umesh_Vedicsoft
Path Finder

Hi all,

I have developed a sample Splunk application. However, if I give it to anybody, then there is chance to modify js files and conf files by opening the app directory like (SPLUNK_HOME/etc/apps/sample_app). So, I would like to give a read only permission to the app directory structure. Is it possible?

Thanks in advance.

fdi01
Motivator

use 'chmod' command linux to do it.
like this: chmod -R repertoire
in your case : chmod -R 444 SPLUNK_HOME/etc/apps/sample_app

this link can help you : https://doc.ubuntu-fr.org/permissions

0 Karma

Umesh_Vedicsoft
Path Finder

thanks for replaying,but what I would like to do is give the read only permission to the my sample_app directory only that to at windows side.it possible??

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I suggest the account running Splunk should have write access to all directories under SPLUNK_HOME.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...