Friday, November 06th, 2009 | Author: admin

So, linux doesn’t like you playing with permissions.

It demonstrates this every time you try to do anything with permissions. Any of you used to a graphical interface are probably used to the interface changing something graphically once you’ve changed permissions. Oh no, too simple young Windows user. Once you click apply in the pretty graphical version in linux, most of the boxes turn grey again, or go back to their default value.

Now before you pull your hair out trying the same steps with a few variations, consult Google on how to check permissions, and may I up front recommend doing it through the terminal, somewhere that shows you the permissions, though ugly, very efficient.

At terminal navigate to the directory then type in

ls -l

Silly as it seems, this lists the permissions out nicely.

For more information consult here, or here.

So, now that you know what the permissions are, lets change them.

sudo chown /path/to/end/folder/here/ UserNameHere

sudo chown -R UserNameHere .

and yes that period matters, and yes you’ll need to enter a password next.

The first line sets ownership to a given user, teh next line forces those permissions to everyhting below it, files, folders, everything.

Category: Linux
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Leave a Reply