Skip to content
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

Powershell command fails during minikube.exe start #20413

Open
afattahi54 opened this issue Feb 16, 2025 · 0 comments
Open

Powershell command fails during minikube.exe start #20413

afattahi54 opened this issue Feb 16, 2025 · 0 comments

Comments

@afattahi54
Copy link

What Happened?

Our domain network anti virus programs restrikes the execution of PowerShell scripts.

So when I run minikube.exe start at command icacls.exe ... I see Access is deniedAt line:1 char:1

Is it possible to change the starting procedure and run icacls.exe as normal cmd command. Or is there any way we can handle it

Attach the log file

minikube.exe start

  • minikube v1.35.0 on Microsoft Windows 10 Enterprise 10.0.19045.5487 Build 19045.5487
  • Automatically selected the docker driver. Other choices: hyperv, virtualbox, ssh
  • Using Docker Desktop driver with root privileges
  • Starting "minikube" primary control-plane node in "minikube" cluster
  • Pulling base image v0.0.46 ...
  • Downloading Kubernetes v1.32.0 preload ...

    preloaded-images-k8s-v18-v1...: 333.57 MiB / 333.57 MiB 100.00% 226.15
    gcr.io/k8s-minikube/kicbase...: 500.31 MiB / 500.31 MiB 100.00% 274.33

  • Creating docker container (CPUs=2, Memory=4000MB) ...
  • Stopping node "minikube" ...
  • Powering off "minikube" via SSH ...
  • Deleting "minikube" in docker ...
    ! StartHost failed, but will try again: creating host: create: creating: prepare kic ssh: unable to execute icacls to set permissions: Program 'icacls.exe' failed to run: Access is deniedAt line:1 char:1
  • icacls.exe "C:\Users\a_fattahi.minikube\machines\minikube\id_rsa" /g ...

At line:1 char:1

  • icacls.exe "C:\Users\a_fattahi.minikube\machines\minikube\id_rsa" /g ...
  •   + CategoryInfo          : ResourceUnavailable: (:) [], ApplicationFailedException
      + FullyQualifiedErrorId : NativeCommandFailed
    
    

: exit status 1

Operating System

Windows

Driver

None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant