Skip to content

replace_string_in_file / create_file tools fail with "File does not exist" on Remote SSH (NFS UNC paths) #301253

@amrzdong

Description

@amrzdong

Environment: VS Code on Windows → Remote SSH to Linux (SLES15), workspace on NFS mount

Repro: Workspace is on a Remote SSH target (Linux). The workspace root is an NFS mount, with a path like /nfs/mount/user/workspace/. VS Code presents this as \nfs\mount\user\workspace... in UNC format. read_file resolves the path and works. replace_string_in_file and create_file fail with "File does not exist" for the same path.

Expected: All file tools should resolve UNC paths consistently in Remote SSH sessions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions