twerple logo
Loading experience...
twerple logo

File and folder permissions explained

1 min read • Updated 2 weeks ago • Files, FTP & SSH

What 644 and 755 mean, the right settings for websites, and fixing permission errors.


Permissions decide who can read, change and run each file. Wrong permissions are a common cause of "403 Forbidden" errors and of websites that cannot save uploads.

The settings to use

ItemPermissionMeaning
Folders755You can change them; the web server can read and open them
Files644You can change them; the web server can read them
Configuration files with passwords, such as wp-config.php600 or 640Only your account can read them

Never use 777. It lets anyone on the server change the file, and HostPanel does not allow it.

Changing permissions

  1. In HostPanel, go to Files → File Manager.
  2. Select the file or folder and open the Permissions dialog.
  3. Tick read, write and execute for owner, group and others, or choose a preset.
  4. For a folder, choose whether to apply the change to everything inside it too.

Fixing a WordPress site

If a WordPress site has permission problems after a move or a plugin install, open WP Toolkit → WordPress Sites, select the site and click Fix Permissions. It resets every file and folder to the correct values.

Was this article helpful?