You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing an application, I got this error message:
New-Item: C:\Users\Chaerun\scoop\apps\scoop\current\lib\install.ps1:1057
Line |
1057 | … New-Item -Path $source -ItemType HardLink -Value $target …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The system cannot move the file to a different disk drive.
Is your feature request related to a problem? Please describe.
Scoop failed to persist data because the physical location of the persist folder is on a different drive.
This occurred because install.ps1 uses a HardLink when persisting a file
# target is a file, create hard link
New-Item -Path $source -ItemType HardLink -Value $target | Out-Null
Describe the solution you'd like
Use SymbolicLink instead of HardLink when persisting a file
# target is a file, create symbolic link
New-Item -Path $source -ItemType SymbolicLink -Value $target | Out-Null
The text was updated successfully, but these errors were encountered:
Feature Request
I'm storing my persistent data on another drive by creating a symbolic link to the
persist
folder.When installing an application, I got this error message:
Is your feature request related to a problem? Please describe.
Scoop failed to persist data because the physical location of the
persist
folder is on a different drive.This occurred because
install.ps1
uses aHardLink
when persisting a fileDescribe the solution you'd like
Use
SymbolicLink
instead ofHardLink
when persisting a fileThe text was updated successfully, but these errors were encountered: