I’ve deployed my app to a docker server on EC2 (what a PITA!), the problem I am having is that in my app I upload an image.
When uploading, I’m getting a ‘permission denied’ error. If I update the permissions on the folder, it works correctly. The problem is that every time I redeploy, I need to remember to update the permissions on that folder.
received this message
“message”: “mkdir(): Permission denied”
changing for user docker doesnt work
using chmod to open for everyone works … its OK for one upload folder in local pc