fresh
fresh copied to clipboard
Change default tmp/ and tmp/runner-build from root to working user
I've noticed that in a project's folder with 0755 permissions where fresh is being run, tmp folder can't be created. Temporarily giving this folder 0777 solves the issue, but the tmp folder is creates from root:root user and group (and you can't anymore delete this folder if not root or sudo), so I guess that's the problem.
If I try to create tmp folder manually, fresh doesn't run with this folder as:
open tmp/runner-build: permission denied
Once again, I need to 0777 that folder even from my working user... But the runner-build file still belongs to root.
@vadimyer just to clarify, this issue is about chown
-ing chmod
-ing the tmp
dir to the current user?
same issue here. @vadimyer your workaround works for me
@vadimyer @Thebarda hi, having this same problem, can you give me the exact command that you run in your dockerfile to deal with this issue? I can't get this to work for me