File permissions control which users can read, write, or execute a file or directory. Incorrect permissions can expose data or prevent a website from working.
- Open File Manager.
- Select the file or directory.
- Click Permissions.
- Adjust the read, write, and execute settings.
- Save the change.
cPanel File Manager commonly defaults regular files to 0644, but the correct value depends on the application and server configuration. Do not solve a permission error by automatically setting files or directories to world-writable permissions such as 0777.