lamby icon indicating copy to clipboard operation
lamby copied to clipboard

Access to filesystem - Errno::EACCES (Permission denied

Open lanks opened this issue 1 year ago • 0 comments

Hi

I am trying to add an executable file to the docker image. However I am unable to access it via rails no matter what I try.

I am adding the file to the working directory in the location - /app/chromium

In my docker file I am providing full access to this directory - RUN chmod -R 777 /app/chromium

However, when I try to utilize this in my ruby code I receive the following error: Errno::EACCES (Permission denied - /app/chromium):

Does anyone know how to add directories / folders to the app or docker so they can be access via the rails app in the lambda function?

Cheers Liam

lanks avatar Feb 13 '24 00:02 lanks