rails-lambda / lamby

🐑🛤 Simple Rails & AWS Lambda Integration

Home Page:https://lamby.cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access to filesystem - Errno::EACCES (Permission denied

lanks opened this issue · comments

commented

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