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

# How To Reset File and Folder Permissions With ORIV Rescue Site?

> Managing file and folder permissions is essential. If permissions are not set right, you might face errors like &#8220;Permission denied&#8221; or &#8220;403 fo

Managing file and folder permissions is essential. If permissions are not set right, you might face errors like **“Permission denied”** or **“403 forbidden error”** while uploading files, running scripts, or accessing website files. This can prevent changes to your website and compromise security.

Sometimes, if you edit files as the root user, your website’s system user may not own these files, leading to access issues such as 500, 502, 400 or 403 errors. Correcting these issues is simple and quick with just a few clicks in your ORIV account dashboard, ensuring your website operates smoothly and securely.

ORIV automatically manages file permissions for any operations it performs on your server. However, if you run commands manually, you will need to set the permissions yourself.

## **How Do You Reset File and Folder Permissions to Rescue Your Site?**

Resetting the file and folder permissions is easier with ORIV. To automatically reset these permissions for your site, follow the steps below:

### **Step 1: Login and Select the Site**

To reset the file and folder permissions of your site. First, log in to your **ORIV** dashboard, head over to the ‘**SITES**’, and choose the website where you want to make the changes.

> \[!NOTE]
> Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em **[support@oriv.cloud](mailto:support@oriv.cloud)**.

### **Step 2: Reset the Permissions**

Now to reset the file and folder permissions, go to the ‘**Site settings**’ option from the left navigation bar.

> \[!NOTE]
> Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em **[support@oriv.cloud](mailto:support@oriv.cloud)**.

Then roll down a little and toggle on the **‘Repair Site Use’, ‘Update Directory Permissions’, ‘Regenerate NGINX Configurations’** and **‘Restart NGINX’** options and click on the **‘Run Now’** button. It will check all directory and file permissions and ensure they are in the right place.

> \[!NOTE]
> Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em **[support@oriv.cloud](mailto:support@oriv.cloud)**.

This is how easily you can rescue your site by resetting the files and folder permissions.

## **Troubleshooting Further Issues**

If you are still experiencing issues, you can check the error logs to identify what might be causing the problem. Just go to the **Site Monitoring > Logs** and check the Nginx/OpenLiteSpeed Error Log and identify the errors.

> \[!NOTE]
> Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em **[support@oriv.cloud](mailto:support@oriv.cloud)**.

You can find more information on viewing logs and events of your server and site [here](https://oriv.cloud/docs/view-logs-and-events-of-your-server-and-site/).

Still stuck? Contact ou**r** [**dedicated support team**](https://support.oriv.cloud/) for any of your queries.
