> ## Documentation Index
> Fetch the complete documentation index at: https://docs.digitalfyre.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting File & Folder Permissions

File permissions control who can read, write, and execute files on your hosting account. Incorrect permissions are a common cause of website errors and security vulnerabilities.

## Recommended Permissions

| Type | Recommended Value |
| - | - |
| **Files** | `644` |
| **Folders** | `755` |
| **Configuration files** (e.g. `wp-config.php`) | `600` |
| **Executable scripts** | `755` |

> [!WARNING]
>
> Never set files or folders to `777`. This grants write access to all system users and is a significant security risk. Our server environment uses CloudLinux with CageFS, which isolates each account — but `777` permissions can still be exploited within your own account's context.

## Changing Permissions in the File Manager

**1. Open the File Manager**

Log in to Plesk and click **Files** in the left sidebar.

**2. Select the File or Folder**

Navigate to the item you want to change and right-click it.

**3. Select Change Permissions**

Click **Change Permissions** from the context menu.

**4. Set the Value**

Enter the permission value (e.g. `644`) or use the checkboxes to set read, write, and execute access for owner, group, and others.

**5. Save**

Click **OK** to apply.

## Applying Permissions Recursively

To apply permissions to all files and folders within a directory at once, check the **Apply to all files and subdirectories** option in the Change Permissions dialog before saving.

> [!NOTE]
>
> If your website is throwing a 403 Forbidden error, incorrect folder permissions are often the cause. Ensure your `httpdocs/` folder and its contents are set to `755` for directories and `644` for files.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.