Can I write to the file system?

I have an app where I need to write files to the file system, like:

os.makedirs(work_dir)

Is that possible? I tried with a docker image but I got a PermissionError: [Errno 13] Permission denied in that line. Any way to overcome that?

1 Like

I think you can basically access the directory under /home/user/ (or possibly /home/ ?) using that method. There is no way to access a path higher up…

(This also causes an error in Dockerfile’s WORKDIR, etc.)