File permissions control who can read, write, or execute your website files. Incorrect permissions can cause errors or security issues. DirectAdmin allows you to manage permissions directly through File Manager.

Understanding permissions

Permissions are shown as a 3-digit number, such as 644 or 755. Each digit represents:

  • Owner (you)
  • Group (other users on the server)
  • Public (everyone)

The numbers mean:
4 = Read, 2 = Write, 1 = Execute
They are added together. For example, 7 = 4+2+1 (read, write, execute).

Common permission settings

  • Folders: 755
  • Files: 644
  • Configuration files (e.g., wp-config.php): 600 or 640 for extra security

How to change permissions in DirectAdmin

  1. Log in to DirectAdmin and open File Manager.
  2. Navigate to the file or folder you want to adjust.
  3. Click on it, then select Permissions or the numeric value shown.
  4. Enter the correct permission number (e.g., 644) and save.

Tips

  • If your website shows “403 Forbidden” errors, check folder permissions first.
  • WordPress and most CMS platforms work best with the defaults: 755 for folders, 644 for files.
Was this answer helpful? 0 Users Found This Useful (0 Votes)

Powered by WHMCompleteSolution