Skip to content

Writing to a read-only file succeeds falsely #282

Closed
@CCing17

Description

When writing to a read-only file and save, the save action "succeeds" (while the remote file is actually not updated) without any pop-up message, which was there previously.

Output log has (exact file path obfuscated):

[DEBUG]   Writing 85652 bytes to ssh://vm/home/[...]
[ERROR]   Error handling uri: ssh://vm/home/[...]
[ERROR]   Permission denied
JSON: {"code":3,"lang":""}
Error: Permission denied
	at k._transform (/Users/[...]/.vscode/extensions/kelvin.vscode-sshfs-1.21.2/dist/262.extension.js:1:82627)
	at k.Transform._read (internal/streams/transform.js:205:10)
	at k._read (/Users/[...]/.vscode/extensions/kelvin.vscode-sshfs-1.21.2/dist/262.extension.js:1:78632)
	at k.Transform._write (internal/streams/transform.js:193:12)
Logged at:
	at z.<anonymous> (/Users/[...]/.vscode/extensions/kelvin.vscode-sshfs-1.21.2/dist/398.extension.js:1:2827)
[DEBUG]   Error converted to: NoPermissions (FileSystemError): ssh://vm/home/[...]

It used be the case that the save action would not succeed and a pop-up message would show up about the permission issue.

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions