It seems latest rsync pass -e to the remote server to specify rsync client is a preversion (A thing I understand because -e works on all rsync version). However, this cause problems on server having options restriction, like denying -e because it allow to execute any command on it.
So I suggest this patch to limit effect to unstable version of clients. WDYT ? Regards. Index: options.c =================================================================== --- options.c +++ options.c 2008-03-19 18:38:56.000000000 +0100 @@ -1837,14 +1837,14 @@ /* We make use of the -e option to let the server know about any * pre-release protocol version && some behavior flags. */ - argstr[x++] = 'e'; #if SUBPROTOCOL_VERSION != 0 + argstr[x++] = 'e'; if (protocol_version == PROTOCOL_VERSION) { x += snprintf(argstr+x, sizeof argstr - x, "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION); } else -#endif argstr[x++] = '.'; +#endif set_allow_inc_recurse(); if (allow_inc_recurse) argstr[x++] = 'i';
signature.asc
Description: This is a digitally signed message part.
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html