2012-03-23 15:24:31 +00:00
|
|
|
Index: src/vfs/ftpfs/ftpfs.c
|
2010-08-23 07:34:46 +00:00
|
|
|
===================================================================
|
2012-03-23 15:24:31 +00:00
|
|
|
--- src/vfs/ftpfs/ftpfs.c.orig
|
|
|
|
+++ src/vfs/ftpfs/ftpfs.c
|
2016-03-16 05:23:50 +00:00
|
|
|
@@ -2019,7 +2019,7 @@ ftpfs_chmod (struct vfs_class *me, const
|
2010-08-23 07:34:46 +00:00
|
|
|
|
2012-03-23 15:24:31 +00:00
|
|
|
g_snprintf (buf, sizeof (buf), "SITE CHMOD %4.4o /%%s", (int) (mode & 07777));
|
2010-08-23 07:34:46 +00:00
|
|
|
|
2012-03-23 15:24:31 +00:00
|
|
|
- ret = ftpfs_send_command (vpath, buf, OPT_FLUSH);
|
|
|
|
+ ret = ftpfs_send_command (vpath, buf, OPT_FLUSH | OPT_IGNORE_ERROR);
|
2010-08-23 07:34:46 +00:00
|
|
|
|
2011-02-09 13:53:51 +00:00
|
|
|
return ftpfs_ignore_chattr_errors ? 0 : ret;
|
|
|
|
}
|