Pages

Tuesday, July 17, 2012

File permissions


File permissions can be viewed and changed through either the cPanel File Manager or most FTP programs. We'll walk you through viewing and changing your permissions through the cPanel File Manger here.
File permissions in the cPanel FIle manager will be represented by numbers instead of letters.  The numbers are as follows:
7 = read, write, execute
6 = read, write
5 = read, execute
4 = read only
3 = write, execute
2 = write only
1 = execute only
0 = Access Denied
Let's look at an example below:
cpanel-view-file-permissions
In the image above you can see the permissions for each file listed on the right side of the screen. Probably the most important thing to keep in mind is that certain file types and folders should be set to particular permissons. Below are some examples:
public_html - 750
Folders - 755
CGI and Perl scripts - 755
.html .php and other Document Types - 644

No comments:

Post a Comment