Changing File Permissions in LPCP

From Lunarpages Web Hosting Wiki
Jump to: navigation, search

How do I change file permissions?

The LPCP allows you to quickly change your file permissions via the built in file manager. First, you must login to your LPCP account, and then find (and click on) the file manager link. It is located on the left side of your screen.

File-manager-link.png

This will open a new window, which will display your home directory, its contents, and the permissions associated with each directory and file.

File-manager.png

Next click the link located under "Perm's" for the directory or file whose permissions you would like to change.

Understanding File Permissions

File-permissions.png

In the picture above, we are looking at the permissions of the public_html folder. The permissions here are based on a textual representation, rather than a numeric (or octal) representation (such as 755, 644, ect). This key should help you define some of the differences.

Permissions are defined for three types of users:

  • the owner of the file
  • the group that the owner belongs to
  • other users

File Permissions in Textual Representation:

  • r = Read access is allowed
  • w = Write access is allowed
  • x = Execute access is allowed
  • - = Replaces "r", "w" or "x" if according access type is denied

Examples of Numerical vs Textual File Permissions:

Numerical Textual
777 -rwxrwxrwx
755 -rwxr-xr-x
644 -rw-r--r--
750 -rwxr-x---

To help you convert numerical file permissions to textual file permissions, use this free online tool:

Share |
Want to read this in another language?