Security

df.sh showing permission denied error in internal log

rakesh_498115
Motivator

Hi..

I have the unix app installed in one of my linux server , and they are several mount points on this box , out of my user (i.e splunk) user have access only to limited mount points .So the problem here since i dont have access to all mountpoints my unix's app command df.sh is throwing permission denied error as below.

index=_internal " error " NOT debug source=splunkd.log message="message from \"/opt/splunk/etc/apps/unix/bin/df.sh\" df: `/clusmon/bptm_logs': Permission denied

How can i eliminate this error ? is there a way when an unix app runs df.sh script it takes only from the accessible mount points and doesnt throw any error if some mount point is not accessible ?..

Tags (3)
0 Karma

adylent
Path Finder

Make sure the file is executable.

try:

chmod +x opt/splunk/etc/apps/unix/bin/df.sh
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...