Security

tar: splunk: Cannot mkdir: Permission denied

ehs2020
New Member

I was watching a module 3 in Training. When I type and enter tar xvzf splunk-8.0.3-a6754d8441bf-Linux-x86_64.tgz -C /opt
following the video. It shows an error (tar: splunk: Cannot mkdir: Permission denied). How can I fix this issue?

Tags (1)
0 Karma

roboheeh
Loves-to-Learn

Hi

You can try sudo tar...

0 Karma

tauliang
Communicator

You can either ask for permission, or you can extract it to another folder in which you have permission to write, e.g., ~/opt instead of /opt

vnravikumar
Champion

Hi

It seems you don't have proper permissions. You need sudo permissions or contact a system administrator

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

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 ...