14 lines
530 B
Diff
14 lines
530 B
Diff
diff --git a/vfs/ftpfs.c b/vfs/ftpfs.c
|
|
index 43d363c..1b137ae 100644
|
|
--- a/vfs/ftpfs.c
|
|
+++ b/vfs/ftpfs.c
|
|
@@ -1526,7 +1526,7 @@ static int ftpfs_chmod (struct vfs_class *me, const char *path, int mode)
|
|
char buf[BUF_SMALL];
|
|
|
|
g_snprintf(buf, sizeof(buf), "SITE CHMOD %4.4o /%%s", mode & 07777);
|
|
- return ftpfs_send_command(me, path, buf, OPT_FLUSH);
|
|
+ return ftpfs_send_command(me, path, buf, OPT_FLUSH | OPT_IGNORE_ERROR);
|
|
}
|
|
|
|
static int ftpfs_chown (struct vfs_class *me, const char *path, int owner, int group)
|