Splunk Search

Permissions issue Executable for Splunk App

Roy_9
Motivator

Hi,

I am facing a executable permission issue for the few scripts for a splunk app and seeing these errors on various search heads, what is the best way to fix it? can someone help me with the script or a fix if you ever come across?

 

thanks in advance.

Labels (1)
0 Karma

Roy_9
Motivator

Hi @gcusello 

This is happening for splunk add-on for nix and OS is linux  in a clustered SH. I checked the permissions are set to executible in the code repository but those are not getting replicated to search heads.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Roy_9 ,

when you speak of code repository, are you meaning the SHC-Deployer or what else?

check in the SHC-Deployer the grants and owners of all files and push again the app from the SHC-Deployer to the SH members.

Ciao.

Giuseppe

0 Karma

Roy_9
Motivator

@gcusello We are using git repo for any code changes and i have validated that the permissions are set to executable on the deployers, do you want me to push these once again?

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Roy_9,

check executable grants and check if the file owner (splunk I suppose) is the owner also of the splunkd process running on the server.

If the owner is root and the process runs as splunk there could be an issue.

Ciao.

Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

@Roy_9 ,

you shared too few information to help you:

  • Which kind of scripts are you speaching ?
  • which OS are you using?
  • Have you a lustered or stand alone SH ?
  • Why do you want to execute these scripts on SH?

Ciao.

Giuseppe

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 ...