mirror of
https://github.com/MidnightCommander/mc
synced 2025-04-03 05:32:56 +03:00
(sftpfs_chmod): set permissions only, don't touch other attributes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
8e5f8255e1
commit
c3ba19b422
@ -503,6 +503,7 @@ sftpfs_chmod (const vfs_path_t * vpath, mode_t mode, GError ** mcerror)
|
||||
if (res < 0)
|
||||
return res;
|
||||
|
||||
attrs.flags = LIBSSH2_SFTP_ATTR_PERMISSIONS;
|
||||
attrs.permissions = mode;
|
||||
|
||||
do
|
||||
|
Loading…
x
Reference in New Issue
Block a user