Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

pwd.exe -P prints invalid UNC path

Open
#85 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start by reproducing the /cygdrive/c/Program Files/coreutils/bin/pwd.exe -P command with the UNC paths shown in the issue, then trace how pwd.exe formats the physical path on Windows. Done means the output preserves the leading \ and matches the expected UNC path for the listed NFS and WebDAV cases.

Written by the indexing model from the issue text.

Description

C-bug

pwd.exe -P prints invalid UNC path

Current path (UNC path on OpenText NFS share, ms-nfs41-client or MS WebDAV share):
\\10.49.202.239@NFS@2049\nfsdata\wincoreutilstest

$ /cygdrive/c/Program\ Files/coreutils/bin/pwd.exe -P
UNC\10.49.202.239@NFS@2049\nfsdata\wincoreutilstest

Expected output would be:
\\10.49.202.239@NFS@2049\nfsdata\wincoreutilstest

Dominant language
Rust
Stars
5.2k
Forks
107
Avg merge
2d 19h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/coreutils

All issues in microsoft/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.