File 02_ignore_ftp_chmod_error.patch of Package mc
diff -U 3 -H -d -r -N -- mc-4.8.0-orig/src/vfs/ftpfs/ftpfs.c mc-4.8.0/src/vfs/ftpfs/ftpfs.c
--- mc-4.8.0-orig/src/vfs/ftpfs/ftpfs.c 2011-10-19 15:30:59.000000000 +0400
+++ mc-4.8.0/src/vfs/ftpfs/ftpfs.c 2011-10-20 01:33:53.000000000 +0400
@@ -1999,7 +1999,7 @@
g_snprintf (buf, sizeof (buf), "SITE CHMOD %4.4o /%%s", (int) (mode & 07777));
- ret = ftpfs_send_command (vpath, buf, OPT_FLUSH);
+ ret = ftpfs_send_command (vpath, buf, OPT_FLUSH | OPT_IGNORE_ERROR);
return ftpfs_ignore_chattr_errors ? 0 : ret;
}