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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...