You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What Operating System(s) are you seeing this problem on?
Linux X11, macOS
Which Wayland compositor or X11 Window manager(s) are you using?
N/A
WezTerm version
wezterm-ssh 0.4.0
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Attempting to set the metadata fails with "Generic failure" error message.
use wezterm_ssh::{FilePermissions,Sftp,Utf8PathBuf};let sftp:Sftp = /* get sftp channel */;let path:Utf8PathBuf = /* define some path */;// Get some metadata from a fileletmut metadata = sftp.metadata(&path).await.unwrap();// Assign new file permissions to it
metadata.permissions = Some(FilePermissions::from_unix_mode(0o777));// Set the metadata including permissions to the file//// !!! Fails with a "Generic failure" error message !!!
sftp.set_metadata(path, metadata).await.unwrap();
To Reproduce
No response
Configuration
N/A
Expected Behavior
Able to set the metadata of the file, which includes the permissions.
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
What Operating System(s) are you seeing this problem on?
Linux X11, macOS
Which Wayland compositor or X11 Window manager(s) are you using?
N/A
WezTerm version
wezterm-ssh 0.4.0
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
Attempting to set the metadata fails with "Generic failure" error message.
To Reproduce
No response
Configuration
N/A
Expected Behavior
Able to set the metadata of the file, which includes the permissions.
Logs
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: