Problem with permissions

Keywords: PrestaShop - AWS - Technical issue - Permissions
bnsupport ID: 84447d13-690e-7f50-37b5-7eca11daec6b
Description:
when i put developer mode ON my site and admin crashes, this is the error:
The stream or file “/opt/bitnami/apps/prestashop/htdocs/var/logs/dev.log” could not be opened: failed to open stream: Permission denied
Also when i wasnt able to upload an image for my products gets me an error, the same when i try to save a translation file

Hi @oscar.garcia.alarcon

We have a guide on troubleshooting permission issues at https://docs.bitnami.com/aws/how-to/troubleshoot-permission-issues/. Could you see if that helps?

Vikram

thanks i’ve already check the doc i think theres is nothing wrong, these are my permissions:

Hi @oscar.garcia.alarcon,

Thanks for using Bitnami. As you can see in the screenshot you attached, the dev.log file has writeable permissions for the user bitnami but not for the daemon group. As Apache is run by the user daemon on your system, you need to set write permissions to this file to fix your issue. Please run the commands below to set 664 permissions to bot dev.log and prod.log files

sudo chmod 664 /opt/bitnami/apps/prestashop/htdocs/var/logs/dev.log
sudo chmod 664 /opt/bitnami/apps/prestashop/htdocs/var/logs/prod.log

Hope it helps

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.