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
2 Answers
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.
Maybe the extension nautilus-admin could help you a bit to change your settings via a graphical user interface.
-
-
1
sudo
?/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/usr
. What is the end-goal here?