microsoft / microsoft/winget-cli
Installing or updating some packages makes them inaccessible through OpenSSH Windows server
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget install
Brief description of your issue
When I install or update some applications in regular terminal, later on when trying to run them through SSH the link cannot be traversed because of RedirectionGuard.
Likely related to #6211.
Steps to reproduce
I installed ripgrep, logged in through SSH and observed this behavior.
Expected behavior
I expected rg to work through SSH, just as it works through regular terminal.
Actual behavior
I got error 448, that the link cannot be traversed as RedirectionGuard refuses it.
Environment
Windows: Windows.Desktop v10.0.26200.8893
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.29.280.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with winget install for ripgrep, then compare rg in a regular terminal and through an OpenSSH Windows session. Investigate the RedirectionGuard path associated with error 448 and the related issue #6211. Done means installed or updated packages can be executed through SSH without the link-traversal error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100