I was unable to create a fresh folder or extract some folders to usr/local. It says permission denied. Under ‘permissions’, on right clicking the ‘local’ folder, i found that ownership is mentioned as root and all the fields are locked/faded. While installing the OS I created the user as admin i remember.
Even while I use sudo in terminal to extract the folders, it still says permission denied. I needed to extract folders into usr/local to install golang.
I use Manjaro-KDE version and im the only user on the laptop. Hope someone could help me.
Ok allow me to check doing so but Im unable to understand why I don’t have permission on these folders despite being the administrator. I am fledgling to Linux and hence my awareness on this is a bit low.
Being administrator doesn’t mean you can alter system files or folders via File Manager, reason why you should learn about how linux filesystem works. You can do it via sudo and providing the password.
I’ve marked this answer as the solution to your question as it is by far the best answer you’ll get.
However, if you disagree with my choice, please feel free to take any other answer as the solution to your question or even remove the solution altogether: You are in control! (If you disagree with my choice, just send me a personal message and explain why I shouldn’t have done this or or if you agree)
P.S. In the future, please don’t forget to come back and click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.