Home Tech Assists Operations Web applications and Unix permissions
Web applications and Unix permissions PDF Print E-mail
User Rating: / 0
PoorBest 
Article Index
Web applications and Unix permissions
The Unix modes (permissions scheme)
The standard default permissions
Joomla! permissions example
Footnotes...
All Pages

Unix/Linux permissions can be a confusing thing. I have seen a large number of posts asking about permisisons, so I hope that this
might go some way to assisting folks to understand what they are and how they work.


The basic unix permissions come in three flavors;

Owner Permissions : These are permissions that you have on your own files or 
directories.


Group Permissions
: These are permissions that you and anyone in your group have on
the file files or directories.


Other Permissions
: These are permissions that other people have on your files or
directories if not you, or in your group



So, in Unix, when permissions are configured, the server allows you to define different permissions for each these three different categories of users. In a Web Serving environment these permissions are used to control which website owners can access which directories and files.

What do Unix permissions look like?
When viewing your files through an FTP client or from the servers command line;

filename.php   username   usergroup   rwx   r-x   r-x


The first entry is the name of the file, the next entry is your username on the server, the second entry is the group that you are a member of and the last entry is the permissions assigned to that this file (or directory).

If you notice, I have intentionally spaced out the permissions section, I have grouped the 9 characters into 3 sets of 3. This separation is key to how the permissions system works.

 



 

Donate To Tools Suite

Like it? Share it!

Add to: JBookmarks Add to: Facebook Add to: Mr. Wong Add to: Windows Live Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Spurl Add to: Google Information

Contact openVISION

openVISIONPO Box 2215
Taylors Lakes
Victoria. 3038
Australia.

Contact our Service Managers

openVISION Licensing



Creative Commons License
openVISION written content and images are published under Creative Commons license


openVISION Tools Suites are released under the GNU General Public License v3