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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...