Hi, I'm running a flow run that downloads a file t...
# ask-community
a
Hi, I'm running a flow run that downloads a file to local file system within docker container and getting [Errno 13] Permission denied. is there best practice to bypass this?
✅ 1
c
You will need to use
RUN chmod (read and write permissions)
or
RUN chown
to grant read and write permissions for the directory where you are using copied your flows (for whatever USER your image is using)
gratitude thank you 1
The best practice here is just making sure your file permissions are fine grained and only includes the flow files.
Also standard Docker best practices applies for USER: i.e. don't use ROOT
a
which user is running the flow?
c
👋 @Anat Tal Gagnon would you be willing to share the Dockefile you are using?
I’ll be able to help out with your question directly from that
a
resolved with chmod, I still have problems though will open another thread
🙌 2