File permissions control who can read, write, or run your files. Getting them right keeps your site both working and secure. This guide explains how to view and change permissions in cPanel’s File Manager.
Understanding permission numbers #
Permissions are shown as three digits:
- Bestanden: meestal 644.
- Mappen: meestal 755.
- Avoid 777, which is insecure and rarely necessary.
Rechten wijzigen #
- Log in to cPanel and open Bestandsbeheer.
- Select the file or folder.
- Klik op Permissions in the toolbar.
- Set the correct value, such as 644 or 755.
- Opslaan.
When permissions cause problems #
Incorrect permissions are a common cause of errors. Files that are too restrictive can cause 403 errors, while files that are too open are a security risk. WordPress and similar apps generally expect 644 for files and 755 for folders.
Tips #
- Only change permissions when you have a reason to.
- Never set 777 unless a vendor specifically requires it, and revert afterwards.
- Apply changes recursively with care.
Problemen oplossen #
- 403 Forbidden: permissions may be too restrictive; try 644/755.
- Cannot write/upload: the folder may need write permission for the owner.
Hulp nodig? #
If a permissions issue is breaking your site, our support team can help over live chat.