File 02_ignore_ftp_chmod_error.patch of Package mc

Index: src/vfs/ftpfs/ftpfs.c
===================================================================
--- src/vfs/ftpfs/ftpfs.c.orig
+++ src/vfs/ftpfs/ftpfs.c
@@ -2019,7 +2019,7 @@ ftpfs_chmod (struct vfs_class *me, const
 
     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;
 }
openSUSE Build Service is sponsored by