> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.weltpixel.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).

# Bitnami AWS - Installation issues with Magento 2 Theme or Extensions [Solved]

**Common issue:**  
When copying files via FTP to a Bitnami Magento installation, files are copied with user **`daemon`**. Later, when clearing cache, regenerating LESS, or deploying static content via SSH, problems may occur because the logged-in user is **`bitnami`**.

---

**Common solution:**  
Use the `sudo` prefix before issuing SSH commands. After copying new files, ensure permissions are corrected. Most Bitnami Magento issues stem from **permission mismatches** or **user privileges**.

---

## Applying Correct Bitnami Permissions

Bitnami uses specific file permissions for Magento, which differ from default Magento permissions. After adding third-party themes or modules, run the following commands to reapply the proper Bitnami permissions:

- `sudo find installdir/apps/magento/htdocs/var -type d -exec chmod 775 {} \;`  
- `sudo find installdir/apps/magento/htdocs/var -type f -exec chmod 664 {} \;`  
- `sudo chown -R bitnami:daemon installdir/apps/magento/htdocs/var`

![Bitnami permissions example](https://storage.crisp.chat/users/helpdesk/website/-/f/5/d/a/f5da31ea21740800/19403a0c-58b7-47d9-b292-e25c64_13jocie.png)

---

## References & Further Support

- 📖 [Bitnami Documentation](https://docs.bitnami.com/installer/apps/magento/)  
- 💬 [Bitnami Community Discussions](https://community.bitnami.com/c/magento) – Many users report limitations when using Bitnami as a Magento base image.  
- 🛠 [Example Thread: 3rd Party Extensions and Permissions](https://community.bitnami.com/t/3rd-party-extensions-and-permissions/43714/12)  
- 🌐 [How to choose the right Magento 2 hosting](https://help.weltpixel.com/en/article/choosing-the-right-magento-2-hosting-m8sdql/)  

---

✅ Running these commands after every new installation/update typically resolves permission-related issues on Bitnami Magento setups.