Writting a file gives me an Error: EACCES: permission denied
nova
PROOP

2 years ago

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

0 Replies

nova
PROOP

2 years ago

28c9cac5-b533-4503-96a9-d476dd69034a


brody
EMPLOYEE

2 years ago

does the public folder exist?


nova
PROOP

2 years ago

Yes


brody
EMPLOYEE

2 years ago

nixpacks or dockerfile?


nova
PROOP

2 years ago

Dockerfile


brody
EMPLOYEE

2 years ago

send it please


nova
PROOP

2 years ago


brody
EMPLOYEE

2 years ago

try removing line 20


nova
PROOP

2 years ago

Yes, it worked, thanks a lot


brody
EMPLOYEE

2 years ago

no problem!


Loading...