File permissions control who can read, write, and execute files on your hosting account. Incorrect permissions can cause website errors or security vulnerabilities. This guide covers how to view and change file permissions in Plesk.

### Changing File Permissions

1. Log in to **Plesk**.
2. Go to **Websites & Domains** → click your domain → **Files**.
3. Hover over the file or folder you want to modify.
4. Click the context menu (three dots) → **Change Permissions**.
5. Set the permissions using the checkboxes for **Read**, **Write**, and **Execute** for each level (Owner, Group, Others).
6. Click **OK** to save.

### Recommended Permission Values

- **Files:** `644` (Owner: read+write, Group: read, Others: read)
- **Directories:** `755` (Owner: read+write+execute, Group: read+execute, Others: read+execute)
- **Configuration files:** `644` or `600` (only owner can read and write)

### Setting Permissions Recursively

If the **Permissions Recursive** extension is installed:

1. Hover over a directory.
2. Click **Set Permissions Recursive**.
3. Set separate permissions for folders and files within the directory.
4. Click **OK**.

### Important Notes

- Never set permissions to `777` — this is a serious security risk.
- If your site shows 500 errors after changing permissions, reset files to `644` and directories to `755`.
- Permission changes take effect immediately.

### Troubleshooting

**"Permission denied" error:**

- Set the file or directory to at least `644` (files) or `755` (directories).

**Website shows 500 error:**

- Check `.htaccess` permissions — should be `644`, not `777`.