aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mc/mc-4.6.2/02_ignore_ftp_chmod_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mc/mc-4.6.2/02_ignore_ftp_chmod_error.patch')
-rw-r--r--recipes/mc/mc-4.6.2/02_ignore_ftp_chmod_error.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/mc/mc-4.6.2/02_ignore_ftp_chmod_error.patch b/recipes/mc/mc-4.6.2/02_ignore_ftp_chmod_error.patch
new file mode 100644
index 0000000000..6ad176dfa1
--- /dev/null
+++ b/recipes/mc/mc-4.6.2/02_ignore_ftp_chmod_error.patch
@@ -0,0 +1,11 @@
+--- mc-4.6.2/vfs/ftpfs.c
++++ mc-4.6.2/vfs/ftpfs.c
+@@ -1529,7 +1529,7 @@
+ char buf[BUF_SMALL];
+
+ g_snprintf(buf, sizeof(buf), "SITE CHMOD %4.4o /%%s", mode & 07777);
+- return ftpfs_send_command(me, path, buf, OPT_FLUSH);
++ return ftpfs_send_command(me, path, buf, OPT_FLUSH | OPT_IGNORE_ERROR);
+ }
+
+ static int ftpfs_chown (struct vfs_class *me, const char *path, int owner, int group)