Skip to content

Codex cannot access files in remote directory (connected use SSHFS) in VSCode #7277

@JcaiJcai

Description

@JcaiJcai

What version of the VS Code extension are you using?

1.106.2 (Universal)

What subscription do you have?

Plus

Which IDE are you using?

VS Code

What platform is your computer?

Darwin 21.6.0 arm64 arm

What issue are you seeing?

Hi team,

I encountered an issue where Codex in VSCode cannot access any files inside a folder that is mounted via SSHFS.

The issue seems specific to SSH FS.

  • VSCode 1.106.2 (Universal)
  • Codex extension (by OpenAI)
  • SSHFS extension (by Kelvin Schoofs)
  • Workspace opened from an SSHFS-connected remote directory
  • “Work locally / sandbox mode”
  • “Send to cloud” always disabled / greyed out
Image

What steps can reproduce the bug?

  • Connect a remote directory using SSHFS.
  • Open the remote directory using SSHFS as a VSCode workspace. (As shown in the picture.)
Image
  • Open the Codex panel.

Try to: Access project files
Try to: Change "Work locally"

All of these fail.

What is the expected behavior?

  • Add the current workspace (SSHFS folder) to the context
  • Enable Codex to read and modify project files like a normal workspace

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extensionsandboxIssues related to permissions or sandboxing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions