unix permissions explained

August 10th, 2007

The next time you feel like asking the Unix admin what the permissions are set to, for the love of god (not that he cares or exists to some) please do your homework and make sure that you understand permissions or at least the basics:

d r w x r w x r w x

Owner Group Other
Directory Read Write Execute Read Write Execute Read Write Execute

So let’s say you run: $ls -ld on /var you should see something like this: drwxr-xr-x

That means the directory owner has Read, Write, Execute. The group has Read and Execute and others have Execute. Simple, eh? So the Owner, Group and Others columns will each have three characters indicating the permissions set.

Leave a Reply

Back to top