In this article, you will learn how to set file permissions in the file manager. This could be for added security on WordPress or you need to fix the permissions in the file manager.
Types of file permissions in File Manager #
There are three access permissions within the file manager:
- Read: Files can be viewed by the user. Uses the number 4.
- Write: Files can be modified by the user. Uses the number 2.
- Execute: Files can be run as programs by the user. Uses the number 1.
The access permissions are then set for different types of groups:
- User: The person who owns the file.
- Group: The group the file belongs to.
- World: Everyone else can access.
The basic access permissions your folders and files should have
- public_html – 750
- Folders – 755
- Scripts – 755
- Other Document Types e.g .html – 644
Changing access permissions for a file or folder #
To change the access permissions for a file or folder, follow these steps:
- Log in to cPanel.
- Search for file manager then click it.
- Select the file or folder you wish to change the permissions.
- Click the permissions button located in the main menu.
You can also do this via right-click.
- Click the checkboxes to add and remove the permissions.
- Click .