Permissions can be very important when it comes to hosting your website. Permissions can allow our server computer to write and edit your files. Along with that, some files need to be protected from writing and editing as a security measure. You can change your file permissions in many ways. One of the easy and basic ways to change the permissions is through File Manager in cPanel. To change the permissions for a file or folder in cPanel, please do the following:. It is very important that Group and World are able to view your website files. However, there are some files that you may not want anyone to see. If you remove the check for Read under Group and World, then the file will not show in anyone's browser instead, visitors will see a Forbidden error.
A2Hosting provides a broad selection of hosting services varying from shared, to reseller, virtual, devoted, and all the way up to a managed WordPress hosting option. A2Hosting provides a totally enhanced server based on WordPress, which can be personalized to fit your precise requirements. A2Hosting servers include a simple to use WordPress installer and control panel. You can install numerous plug-ins and styles to improve the look and functionality of your WordPress website.
Viewing File Permissions
This article describes how to use cPanel's File Manager to set permissions for your web site's files and directories. All files and directories on Linux computers have access permissions that tell the operating system how to handle access requests. There are three basic access permissions:. You can determine the full permission settings for a file or directory by combining access permissions and access types. For example, a file with read and write permissions for the user has a permissions value of 6.
In this tutorial, we will show you how to change file permissions in cPanel. Each file and directory folder in your account has permissions that control who can read, write, and execute that file. When files are created, default permissions are assigned. We also have a helpful guide on how to change file permissions via SSH. After you log into cPanel , just click on the File Manager icon in the Files section. Keep in mind that certain file types and folders should be set to particular permissions. Below are a few typical permission settings:. Incorrect file permissions can cause errors or, even worse, allow unauthorized users to hack your site. Once an unauthorized user gains access, they can further alter more of your file permissions to make a site even more vulnerable.