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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...