What is CHMOD?
CHMOD controls who can read, write, or execute files on your hosting account. Incorrect permissions can cause WordPress errors, plugin issues, or security problems.
Recommended CHMOD settings
- Files: 644
- Folders: 755
- wp-config.php: 600 or 640 (for extra security)
- uploads folder: 755
How to change permissions in DirectAdmin
- Open File Manager
- Select a file or folder
- Click the Permissions icon
- Enter the numeric value (e.g., 755)
- Save
Common errors caused by wrong CHMOD
- WordPress plugin update failures
- “403 Forbidden” errors
- Unable to upload media
- White screen (PHP cannot execute files)
When NOT to use 777
Setting permissions to 777 gives full access to everyone. This is unsafe and allows malware or attackers to modify your files. Never use it unless a developer specifically requires it.