0

I'm somewhat new to Ubuntu but have been learning a lot on my own. I am an admin user for my PC. However, when I try to take ownership of most folders, like usr/local, it says I don't have permission and I'm not able to change any permissions. It doesnt make any sense because I'm the only one who uses this PC and I'm an admin. I even tried taking ownership using the terminal with no luck. Any suggestions would be greatly appreciated. I'm also using Ubuntu 14.0

5
  • I think this post will help you a lot: change ownership
    – Mofty
    Nov 26, 2015 at 14:29
  • 1
    are you using sudo?
    – TellMeWhy
    Nov 26, 2015 at 14:31
  • 2
    What command are you trying with the terminal? Nov 26, 2015 at 14:32
  • There is a reason Ubuntu is more secure than Window. The admin user does not own the system files in folders like /usr/local/. Messing with ownership of these files will probably give you a system that does not boot. In general follow this advice: pinterest.com/pin/399342691928194426
    – user68186
    Nov 26, 2015 at 15:56
  • As discussed, don't do this. Or at least understand what you are doing, and maybe take a step back and ask what are you actually trying to achieve by hacking perms in /usr. What is the end-goal here?
    – user459652
    Nov 26, 2015 at 16:22

2 Answers 2

4

You can change the ownership of files using the chown command. Run man chown to read the documentation. In short, you can use it as sudo chown USERNAME:GROUPNAME file.

BUT:
I would not recommend changing the ownership of file outside your home directory! See Changed owner of /usr/bin and Changed permissions of / to user to see what happens when you do it.

0

Maybe the extension nautilus-admin could help you a bit to change your settings via a graphical user interface.

2
  • How? Can you provide a screenshot, or some instructions?
    – muru
    Nov 26, 2015 at 16:17
  • 1
    In the answer, please.
    – muru
    Nov 26, 2015 at 19:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .