fresh icon indicating copy to clipboard operation
fresh copied to clipboard

Change default tmp/ and tmp/runner-build from root to working user

Open importnil opened this issue 9 years ago • 3 comments

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.

importnil avatar Feb 06 '16 15:02 importnil

@vadimyer just to clarify, this issue is about chown-ing chmod-ing the tmp dir to the current user?

gmccue avatar May 22 '18 19:05 gmccue

same issue here. @vadimyer your workaround works for me

Thebarda avatar Aug 03 '18 19:08 Thebarda

@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

ghost avatar Sep 23 '18 22:09 ghost