-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
v1.6 Windows permissions problems with *tmpdir* created dirs #38433
Comments
Probably the same cause as #38411 |
Yes - it seems to be related to "Modify" permissions. Yet on my system I have "Modify" set to yes in these folder for "Authenticated Users" and only "Users" it is set to "Read & execute"+"List"+"Read" onyl (without "Modify" and without "Write"). The same set of permissions is for all |
@bkamins what does winver say? And do you have admin permission on the machine? |
Strangely enough, on my copy (fresh 1.5 install) and running Julia without Admin privileges I cannot reproduce this error. |
Maybe but that PR was merged 16 days ago and I still see this problem with the (today's) nightly build. |
I am not sure it is related, but recently I started to get in DataFrames.jl errors in CI on nightly on Win and OSx of this kind: https://travis-ci.com/github/JuliaData/DataFrames.jl/jobs/439295303 and https://travis-ci.com/github/JuliaData/DataFrames.jl/jobs/439295302 (such things do not happen on Linux; the error message does not tell me what is the reason of failure but one of them might be permissions). |
That is #38429 |
How are you all installing Julia here? Is it directly form the website and then running the installer normally (without admin privileges)? |
Yes. Also I have just checked that if I remove
if I not run |
I still see the problem
with
|
@joa-quim do you have a custom |
No. I know that's strange but the problem only occurs with v1.6 (and started about 2-3 months ago. Before it was ok). v1.5 in the exact same machine/config has no problems. |
Might be libuv/libuv@509214d (which added the capability of supporting EDIT: should not be different though (https://bugs.python.org/issue9752#msg115862) |
That's probably what I think. MSFT's docs for
|
Actually, this is fixed by #39038 I noticed that my ENV["TMP"] = "C:\\TMP"
julia> mktempdir() do dir
end |
I'm sorry but too quick in closing
But if that may help, I do not have the
|
Your nightly is a commit behind the one with the fix. Try downloading again. |
OK, I'll try again tomorrow. I just did download the installer 1/4 hour ago. |
Sounds good, yes please confirm it works for you. |
Yeah, I think they take day or so to get updated. |
Confirmed. Problem solved. Thanks |
That's not surprising, it's a moving target. We will backport the fix for this issue to a stable release. |
I can reproduce this with more packages but this one should be enough to show the problem,
The problem seems to arise from the lack of Modify permission. When I try to manually remove the
C:\TMP\jl_Q9AXIp
I get a windows popup asking me to confirm that I have administrator permissions (which I have so it shouldn't ask, but it does). If I manually change the Modify permission to check then I can delete that directory without further questions.Quite likely that explains why
mktempdir cleanup
can't do its job silently.The text was updated successfully, but these errors were encountered: