View Full Version : Changing User Permissions?

06-19-2006, 12:44 AM
ok well now i am having problems putting files places and saving them and stuff because it constantly says that i dont have permission to write to that folder or something but then when i go to properties to change the permissions it says only the owner can change permissions and so whenever i want to do something like that i have to try to do it in the root shell....so im wondering if there is a way that i can make it so that my account has root permission so it wont argue with me when i want it to do something that only the admin can do...cuz i am the admin. sry if thats a noobish question i am still fairly new to linux! :D

06-19-2006, 02:47 AM
oh nevermind i kinda halfway figured out my problem...i poset it in a new topic

06-19-2006, 07:20 AM
You could try learning how to change permissions from root-shell.
Even if the message says that "only the owner can change permissions", it actually means that only owner or root.

So learn about "chmod" command which can be used to change permissions from root shell and/or "chown" command which can be used to change the owner of file/directory.

Try "man chmod" and "man chown" to see the manuals for these commands.

Few examples:

chmod a+rwx FILE

This gives (A)ll users right to (R)ead, (W)rite and (E)xecute the FILE.

chown knoppix FILE

This makes user "knoppix" be the owner of FILE. (So after this, user "knoppix" is allowed to change the permissions for FILE).

Both of these works for directories also. Just use directory name instead or file name.

06-19-2006, 09:23 AM
oh ok thank you ill fiddle around with that a little bit....