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

Permission denied on Windows #146

Closed
stevefan1999-personal opened this issue Apr 12, 2023 · 3 comments
Closed

Permission denied on Windows #146

stevefan1999-personal opened this issue Apr 12, 2023 · 3 comments

Comments

@stevefan1999-personal
Copy link

 examples  cd .\hello_world\
 hello_world  buck2 init --git
Initialized empty Git repository in C:/Users/SteveFan/git/github.com/facebookincubator/buck2/examples/hello_world/.git/
Cloning into 'C:/Users/SteveFan/git/github.com/facebookincubator/buck2/examples/hello_world/prelude'...
remote: Enumerating objects: 5647, done.
remote: Counting objects: 100% (1679/1679), done.
remote: Compressing objects: 100% (607/607), done.
remote: Total 5647 (delta 1068), reused 1672 (delta 1062), pack-reused 3968
Receiving objects: 100% (5647/5647), 2.17 MiB | 5.74 MiB/s, done.
Resolving deltas: 100% (3699/3699), done.
warning: in the working copy of '.gitmodules', LF will be replaced by CRLF the next time Git touches it
 hello_world  buck2 build
Build ID: 74cc4593-2b17-499a-8c75-20ee1c8fdf9e
Jobs completed: 2. Time elapsed: 0.0s.
BUILD SUCCEEDED
 hello_world  buck2 build //...
File changed: root//.git/fsmonitor--daemon/cookies
File changed: root//.git/fsmonitor--daemon/cookies/21900-3
File changed: root//.git/modules/prelude/fsmonitor--daemon/cookies
1 additional file change events
Action failed: root//:print (symlinked_dir buck-headers)
Internal error: symlink(original=../../../../../../../library.hpp, link=C:\Users\SteveFan\git\github.com\facebookincubator\buck2\examples\hello_world\buck-out\v2\gen\root\fb50fd37ce946800\__print__\buck-headers\library.hpp): A required privilege is not held by the client. (os error 1314)
Build ID: 228f67cb-a339-403a-8d31-fd2f8f28233a
Jobs completed: 50. Time elapsed: 0.4s.
BUILD FAILED
Failed to build 'root//:print (prelude//platforms:default#fb50fd37ce946800)'
@stevefan1999-personal
Copy link
Author

stevefan1999-personal commented Apr 12, 2023

Solved. Just forgot to enable developer mode.

@ndmitchell
Copy link
Contributor

Added a note c64c7b8

@ndmitchell
Copy link
Contributor

And added #150 to suggest this if people get it wrong

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

2 participants