-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Directory ownership test fails with docker #1777
Comments
Pinging @sjakobi |
Thanks! I've also reverted the relevant changelog edit 2016-02-12 0:23 GMT+01:00 Michael Sloan [email protected]:
|
My guess is that the ownership test is being done by the |
That makes sense. The checks for the outer stack invocation work, but not the inner. I did a little bit of print debugging yesterday, and stack thought it was user 0, whereas |
stack build
in a repo that builds in a docker container results inDespite me owning that folder.
stack exec --allow-different-user -- whoami
reportsstack
, andstack exec --allow-different-user -- ls -la /home/mgsloan
shows a.stack
folder owned bystack
, so I'm not sure what's going wrong here. I haven't looked at the code yet, could be something simple.Docker is discussed a bit in the PR - #1599 - but I didn't test it.
The text was updated successfully, but these errors were encountered: