2010-08-23 07:34:46 +00:00
|
|
|
Index: lib/vfs/mc-vfs/ftpfs.c
|
|
|
|
===================================================================
|
2011-02-09 13:53:51 +00:00
|
|
|
--- lib/vfs/mc-vfs/ftpfs.c.orig
|
|
|
|
+++ lib/vfs/mc-vfs/ftpfs.c
|
|
|
|
@@ -1987,7 +1987,7 @@ ftpfs_chmod (struct vfs_class *me, const
|
2010-08-23 07:34:46 +00:00
|
|
|
|
2011-02-09 13:53:51 +00:00
|
|
|
g_snprintf (buf, sizeof (buf), "SITE CHMOD %4.4o /%%s", mode & 07777);
|
2010-08-23 07:34:46 +00:00
|
|
|
|
2011-02-09 13:53:51 +00:00
|
|
|
- ret = ftpfs_send_command (me, path, buf, OPT_FLUSH);
|
|
|
|
+ ret = ftpfs_send_command (me, path, 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;
|
|
|
|
}
|