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

prune gives OS privilege error #8938

Closed
1 task done
tomas-correia opened this issue Aug 4, 2024 · 2 comments
Closed
1 task done

prune gives OS privilege error #8938

tomas-correia opened this issue Aug 4, 2024 · 2 comments
Labels
kind: bug Something isn't working needs: author input

Comments

@tomas-correia
Copy link

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

https://github.com/vercel/turbo/tree/main/examples/basic

What package manager are you using / does the bug impact?

pnpm

What operating system are you using?

Windows

Which canary version will you have in your reproduction?

2.0.12-canary.1

Describe the Bug

Trying to prune the monorepo for any package gives a OS error 1314 on Windows 11: "A required privilege is not held by the client".

Expected Behavior

The repo to be pruned to the desired package, as described in the docs for the prune command.

To Reproduce

Just run turbo prune <package_name> on the repo's root.

Additional context

No response

@tomas-correia tomas-correia added kind: bug Something isn't working needs: triage New issues get this label. Remove it after triage labels Aug 4, 2024
@tomas-correia tomas-correia changed the title turbo prune gives OS privilege error prune gives OS privilege error Aug 4, 2024
@chris-olszewski
Copy link
Member

Can you provide a little more information about your setup? This error is highly specific to user permissions and we don't do anything that weird in prune. Can you double check that you're able to do the following in the out directory that prune creates:

  • Create a directory (md in CMD prompt)
  • Create a file
  • Create file symlinks (mklink in CMD prompt)
  • Create directory symlinks (mklink /d in CMD prompt)

@chris-olszewski chris-olszewski added needs: author input and removed needs: triage New issues get this label. Remove it after triage labels Aug 5, 2024
@chris-olszewski
Copy link
Member

Closing this as there hasn't been a response on the issue. Please reopen if you're still experiencing this!

@chris-olszewski chris-olszewski closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working needs: author input
Projects
None yet
Development

No branches or pull requests

2 participants