-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Use Symbolic link instead of Junction Point #3970
Conversation
I assume |
@h404bi OK, you're right. I'll change my description and the pull request. Then should EDIT: I find out that #1179 starts to use |
I maybe remember incorrectly, but I did remember Scoop was using reparsepoint or something for data persistence, not for shortcuts. |
So, what about the pull request?
|
The code linting fails, some rules have changed in the new version of PSScriptAnalyzer, and we don't update it yet.
Maybe some tests? |
@h404bi Maybe I have to know how to deploy the compiled scoop to my computer instead of the released one and know what basic tests should I do. At last, wait for next week's Windows Updater and check whether if this issue is resolved. |
@walterlv And you should know that |
@h404bi Yes! The blog posts posted in this pull request are written by me and have mentioned the administrative rights. |
Users w/o admin rights may encounter issues. Except for global installation, avoiding admin rights is a core feature of Scoop. |
@chawyehsu BAD NEWS! A blog of Microsoft says:
This means that for most computers, the symbolic link needs to run as administrator. To avoid this, we MUST turn on the developer mode. See more details here and here: |
@walterlv yes, I've known it and that's why junction point is used. I've read the blog post from Windows Developer Blog for so many times. lol |
i prefer junctions as they simply work and don't need to admin or changing to developer mode. |
There are no instances of I'm closing this as symbolic link creation requires admin rights (or enabling developer mode, which also requires admin right). |
Maybe we could give priority to the |
For Issue
Description
mklink /j
is used to make junction points andmklink /d
is used to make symbolic links.Symbolic links DO NOT require to run as administrator and this is the same with junction points.Symbolic links support directories and files while junction points only support directories.(EDIT: They are same to support directory only.)My blog and references for
mklink
command