File 02_ignore_ftp_chmod_error.patch of Package mc

Index: lib/vfs/mc-vfs/ftpfs.c
===================================================================
--- lib/vfs/mc-vfs/ftpfs.c.orig
+++ lib/vfs/mc-vfs/ftpfs.c
@@ -1987,7 +1987,7 @@ ftpfs_chmod (struct vfs_class *me, const
 
     g_snprintf (buf, sizeof (buf), "SITE CHMOD %4.4o /%%s", mode & 07777);
 
-    ret = ftpfs_send_command (me, path, buf, OPT_FLUSH);
+    ret = ftpfs_send_command (me, path, buf, OPT_FLUSH | OPT_IGNORE_ERROR);
 
     return ftpfs_ignore_chattr_errors ? 0 : ret;
 }
openSUSE Build Service is sponsored by