Linux File and Folder Permissions Explained
Posted by Tim Botherway on 23 May 2017 12:11 PM

When you upload web content through File Manager or FTP, your control panel automatically sets the appropriate access permissions for files and directories. The permissions are represented as three sets of symbols, for example, rwx r-x r-x.

The first set tells what the owner of the file or directory can do with it; the second tells what the user group, the file or directory belongs to, can do with the file or directory; the third set indicates what other users (the rest of the world, i.e. Internet users visiting a site) can do with the file or directory.

  • R means the permission to read the file or directory,
  • W means the permission to write to the file or directory, and
  • X means the permission to execute the file or look inside the directory.

In this case, the permissions set rwx r-x r-x mean:

  • The Owner can read, write, and execute the file
  • The Group can read the file, but not write to it.
  • The World can read the file, but not write to it.

This is how you would want to generally have your files set. You want to be able to write to it (overwrite, change, or delete it) but nobody else.

To modify permissions for a file or directory, in the Permissions column, click the respective hyperlink representing the set of permissions. Modify the permissions as desired and click OK.


(0 vote(s))
Not helpful

Comments (0)