> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://doc.common-services.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Error: You have to set write permissions - Amazon Marketplace Plus

If you see one of the following messages:

||| You have to set write permissions to the /var/www/modules/amazon/export directory

or

||| You must grant write permissions to the directory: xxx/yyy


This means the Amazon Marketplace module cannot write to certain folders.

## How to Fix This

1. **Connect to your server via FTP** using a client like FileZilla.
2. **Navigate to the module’s folder**: `/modules/amazon`

   ![Module directory](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_1ndqjh0.png)

3. **Right-click the folder mentioned in the error**, then select *File permissions*:

   ![Folder attributes](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_o1xzgm.png)

4. **Enable full write permissions** (read, write, execute):

   ![Enable write permissions](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-amazon-marketplace-_w40jg1.png)

5. Click **OK** to apply the changes.

6. **Repeat the process for the following folders**:
* `validate/xsd`
* `import`
* `export`
* `settings`
* and all their subfolders and files

> ⚠️ Important: Do this only for data folders (validate/xsd, import, export, settings). Do **not** change permissions on folders containing PHP files, as some hosting providers may require stricter permissions for security.

👉 For OVH users, refer to this guide: [https://www.ovh.com/us/g1987.how_to_fix_the_500_internal_server_error](https://www.ovh.com/us/g1987.how_to_fix_the_500_internal_server_error)
