Security

getting error - can't create directory "./splunk" : permission denied

iamsplunkmaster
New Member

Hello,

After installation, and changing the initial password of admin account, I was successfully able to enable/disable the SSL settings via GUI and Web.conf file. However, I am getting Permission denied error when i am trying to do the same with the CLI.

The cmd I am using is : /opt/splunk/bin/splunk enable web-ssl.

it prompts me for the user name and password. for user name and entering admin (default a/c created during splunk installation) and password (changed after initial changeme).

FYI -

  1. i am still successfully make the changes via GUI and conf file.

  2. I checked the roles and the admin has edit_splunktcp_ssl checked too.

Please let me know what permissions i need to give for the user.

Thanks in advance.
Krishna

Tags (1)
0 Karma

adonio
Ultra Champion
0 Karma

renjith_nair
Legend

Are you using the same user on which splunk is installed?

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...