-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
AzDevOps user can not access Java Bin folders #3228
Comments
Hello @joshuarichards512 . Thank you for your report. We will take a look at this issue and come back as soon as we have results to share. |
Hello, @joshuarichards512
|
I confirm the issue is not reproducible |
@joshuarichards512 can you please provide the link to a filed build? |
Here is a snippet from Install-JavaTools.ps1
|
The provided snipped does not have |
Misunderstood your previous comment: failed build output:
Pipeline Step:
|
@joshuarichards512 i see you use cmd.exe syntax with powershell step. Please either run your step with cmd shell or use pwsh $env:Path syntax |
@dsame good catch, using powershell syntax:
Output:
|
@joshuarichards512 can you please give a link to the filed build? I still can not reproduce the problem https://dev.azure.com/v-sedoli/dummy/_build/results?buildId=169&view=logs&j=275f1d19-1bd8-5591-b06b-07d489ea915a |
Closing this one due to no response for a long time. Please, let us know if you have any concerns. |
@gonchalo620 could you please provide more details about your java usage? It seems to be a pretty specific case since we haven't heard any complaints except this issue |
Hello, I have also the errors (access denied and JAVA_HOME not valid) but only on my agent pools where the option "Configure VMs to run interactive tests" is turned on. |
@gonchalo620 @pobop @joshuarichards512 the issue should be fixed in this PR #3605 |
@miketimofeev
==> vhd: Rename-Item : Access to the path 'C:\hostedtoolcache\windows\Java_Adopt_jdk\8.0.302-8\jdk8u302-b08' is denied. |
Description
The AzDevops user is unable to access the x64 folders for all installed versions of Java
Area for Triage: Java
Question, Bug, or Feature?: Bug
Virtual environments affected
Image version
Latest
Expected behavior
Java bin folder should be accessible to the AzDevops user in order to run the executables
Actual behavior
x64: Access is denied.
Repro steps
CD C:\hostedtoolcache\windows\Java_Adopt_jdk\8.0.282-8\x64
The text was updated successfully, but these errors were encountered: