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

References & Further Support
- 📖 Bitnami Documentation
- 💬 Bitnami Community Discussions – Many users report limitations when using Bitnami as a Magento base image.
- 🛠 Example Thread: 3rd Party Extensions and Permissions
- 🌐 How to choose the right Magento 2 hosting
✅ Running these commands after every new installation/update typically resolves permission-related issues on Bitnami Magento setups.
Updated on: 16/09/2025
Thank you!
