aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@suse.cz>2011-09-23 14:33:32 +0200
committerMiklos Szeredi <mszeredi@suse.cz>2011-09-23 14:33:32 +0200
commit77d57a4a5d36155659a29573d550214c368ed2e2 (patch)
treeb41cdbfd39e3abecb4e827064749c5869cbc496b
parent19cb995c2353f920a893057f54e02be772f42843 (diff)
downloadsshfs-77d57a4a5d36155659a29573d550214c368ed2e2.tar
sshfs-77d57a4a5d36155659a29573d550214c368ed2e2.tar.gz
sshfs-77d57a4a5d36155659a29573d550214c368ed2e2.tar.bz2
sshfs-77d57a4a5d36155659a29573d550214c368ed2e2.zip
Add "FIXME: really needs LSETSTAT extension (debian Bug#640038)"
-rw-r--r--sshfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sshfs.c b/sshfs.c
index 64a5eb6..b392f50 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -2113,6 +2113,7 @@ static int sshfs_chmod(const char *path, mode_t mode)
buf_add_path(&buf, path);
buf_add_uint32(&buf, SSH_FILEXFER_ATTR_PERMISSIONS);
buf_add_uint32(&buf, mode);
+ /* FIXME: really needs LSETSTAT extension (debian Bug#640038) */
err = sftp_request(SSH_FXP_SETSTAT, &buf, SSH_FXP_STATUS, NULL);
buf_free(&buf);
return err;