Actions

Difference between revisions of "Where can you learn about Unix?"

From Joomla! Documentation

(Added content, set needs Review)
m (wiki links to other pages and removal of incomplete and needs templates)
Line 1: Line 1:
{{cookiejar}}
 
{{review}}
 
 
 
 
== What is UNIX? ==
 
== What is UNIX? ==
  
Line 8: Line 4:
  
 
Whilst not UNIX in it's true form, the Open Source Operating System GNU/Linux is based around the concepts of UNIX and operates in much the same way. Operating systems such as FreeBSD (from which Apple's Mac OS/X is derived) are also considered UNIX Compliant.
 
Whilst not UNIX in it's true form, the Open Source Operating System GNU/Linux is based around the concepts of UNIX and operates in much the same way. Operating systems such as FreeBSD (from which Apple's Mac OS/X is derived) are also considered UNIX Compliant.
 
  
 
== Why Do I need to Know? ==
 
== Why Do I need to Know? ==
  
For a Joomla! administrator, the nuances of managing a UNIX system are not that important. Given that most Joomla! site's will probably be hosted on a UNIX compliant system, it would be wise to understand how the permissions system works as incorrect settings can lead to Joomla! not functioning correctly (usually by preventing you from installing extensions or uploading media, but with particularly poorly configured permissions Joomla! may not run at all!)
+
For a Joomla! administrator, the nuances of managing a UNIX system are not that important. Given that most Joomla! site's will probably be hosted on a UNIX compliant system, it would be wise to understand how the [[Verifying permissions|permissions system]] works as incorrect settings can lead to Joomla! not functioning correctly (usually by preventing you from installing extensions or uploading media, but with particularly poorly configured permissions Joomla! may not run at all!). Here is [[Security_Checklist/Where_can_you_learn_more_about_file_permissions%3F|more about file permissions]] for Joomla!
  
 
At the file/directory level UNIX based systems assign permissions to three categories of user:
 
At the file/directory level UNIX based systems assign permissions to three categories of user:
Line 21: Line 16:
  
 
These permissions are usually represented by three numbers (e.g. 755).  
 
These permissions are usually represented by three numbers (e.g. 755).  
 
  
 
Owner permissions should be self explanatory, although it should be noted that the owner will not necessarily be the user who created the file.
 
Owner permissions should be self explanatory, although it should be noted that the owner will not necessarily be the user who created the file.
Line 28: Line 22:
  
 
Everyone should, again, be fairly self-explanatory. This specifies the permissions allowed to any user (it's considered very bad practice to allow write permissions to all without good reason).
 
Everyone should, again, be fairly self-explanatory. This specifies the permissions allowed to any user (it's considered very bad practice to allow write permissions to all without good reason).
 
  
 
'''Permissions'''
 
'''Permissions'''
Line 44: Line 37:
  
 
Generally you'll not come across a permission setting lower than 4, as the practical use of 0 - 3 is somewhat limited.
 
Generally you'll not come across a permission setting lower than 4, as the practical use of 0 - 3 is somewhat limited.
 
  
 
'''Examples'''
 
'''Examples'''
  
 
As an example, to allow the owner to read/write and others to simply read we'd want the permissions for our file to be 655.
 
As an example, to allow the owner to read/write and others to simply read we'd want the permissions for our file to be 655.
 
 
 
  
 
== More Information ==
 
== More Information ==
  
A broader range of information about UNIX based systems can be freely located online, including at the following resources
+
=== See Also ===
 
+
[http://www.ee.surrey.ac.uk/Teaching/Unix/ University of Surrey UK]
+
 
+
[https://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/unixscripting/unixscripting.html Birmingham University UK]
+
 
+
[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics.html The FreeBSD Handbook]
+
 
+
[http://www.unixtools.com/ UNIX Tools]
+
  
 +
* [[Verifying permissions]]
 +
* A broader range of information about UNIX based systems can be freely located online, including at the following resources
 +
**[http://www.ee.surrey.ac.uk/Teaching/Unix/ University of Surrey UK]
 +
**[https://supportweb.cs.bham.ac.uk/documentation/tutorials/docsystem/build/tutorials/unixscripting/unixscripting.html Birmingham University UK]
 +
**[http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics.html The FreeBSD Handbook]
 +
**[http://www.unixtools.com/ UNIX Tools]
  
 
The best way to learn, however, is often to download, install and use a UNIX based OS for a while!
 
The best way to learn, however, is often to download, install and use a UNIX based OS for a while!

Revision as of 17:08, 1 December 2012

Contents

What is UNIX?

Broadly speaking, UNIX is a family of Operating systems arising from the original developed by AT&T in 1969. Over time, UNIX has split into multiple branches with a wide range of applications within the Server Arena.

Whilst not UNIX in it's true form, the Open Source Operating System GNU/Linux is based around the concepts of UNIX and operates in much the same way. Operating systems such as FreeBSD (from which Apple's Mac OS/X is derived) are also considered UNIX Compliant.

Why Do I need to Know?

For a Joomla! administrator, the nuances of managing a UNIX system are not that important. Given that most Joomla! site's will probably be hosted on a UNIX compliant system, it would be wise to understand how the permissions system works as incorrect settings can lead to Joomla! not functioning correctly (usually by preventing you from installing extensions or uploading media, but with particularly poorly configured permissions Joomla! may not run at all!). Here is more about file permissions for Joomla!

At the file/directory level UNIX based systems assign permissions to three categories of user:

  • Owner
  • Group
  • Everyone

These permissions are usually represented by three numbers (e.g. 755).

Owner permissions should be self explanatory, although it should be noted that the owner will not necessarily be the user who created the file.

Users can be added to any number of groups, and assigning permissions to a group will allow all users within that group to complete the permitted actions. This allows a system administrator to allow certain permissions to certain users without needing to indiscriminately allow for all.

Everyone should, again, be fairly self-explanatory. This specifies the permissions allowed to any user (it's considered very bad practice to allow write permissions to all without good reason).

Permissions

Each permission is usually represented with a numeral, below is what each denotes

  • 0: No permission (cannot read write or execute)
  • 1: Can execute, cannot read, cannot write
  • 2: Can Write, cannot read or execute
  • 3: Can write and execute but cannot read
  • 4: Can read, Cannot write, cannot execute
  • 5: Can read and execute, cannot write
  • 6: Can read and write, cannot execute
  • 7: Can read, write and execute.

Generally you'll not come across a permission setting lower than 4, as the practical use of 0 - 3 is somewhat limited.

Examples

As an example, to allow the owner to read/write and others to simply read we'd want the permissions for our file to be 655.

More Information

See Also

The best way to learn, however, is often to download, install and use a UNIX based OS for a while!