Writting a file gives me an Error: EACCES: permission denied
I have to create and download files dynamically, in other questions on this discord, I have seen that they give the solution for volumes because the files created in production are not persistent, but i dont want that, I download them and then delete them, I don't need them to be persistent, but it gives me this error:
[Error: EACCES: permission denied, open '/app/public/miFile.tx']
Although it is in the public folder it still gives a writing error because it does not have permission
11 Replies
Project ID:
28c9cac5-b533-4503-96a9-d476dd69034a
28c9cac5-b533-4503-96a9-d476dd69034a
does the public folder exist?
Yes
nixpacks or dockerfile?
Dockerfile
send it please
Solution
try removing line 20
Yes, it worked, thanks a lot
no problem!