*****SPAM***** I: "rsync --delete" is unable to handle broken symlinks properly

Dmitry V. Levin ldv at altlinux.org
Tue Jul 16 04:13:02 EST 2002


SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM: 
SPAM: Content analysis details:   (5 hits, 5 required)
SPAM: Hit! (2.0 points)  Received via a relay in relays.osirusoft.com
SPAM:                    [RBL check: found 235.250.118.62.relays.osirusoft.com., type: 127.0.0.4]
SPAM: Hit! (3.0 points)  DNSBL: sender is Confirmed Spam Source
SPAM: 
SPAM: -------------------- End of SpamAssassin results ---------------------


--lCAWRPmW1mITcIfM
Content-Type: multipart/mixed; boundary="tjCHc7DPkfUGtrlw"
Content-Disposition: inline


--tjCHc7DPkfUGtrlw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Greetings!

rsync-2.5.5 is unable to remove broken symlinks properly when
"--delete" option is used. The testcase is attached.


--
ldv

--tjCHc7DPkfUGtrlw
Content-Type: application/x-sh
Content-Disposition: attachment; filename="rsync-test_broken_symlinks.sh"
Content-Transfer-Encoding: quoted-printable

#!/bin/sh -e=0A=0Amkdir -v src dst=0Aln -sv missing dst/broken=0A=0Arsync -=
va --delete src/ dst/=0Aif test -L dst/broken; then=0A	echo 'TEST FAILED: r=
sync is unable to remove broken symlink.' >&2=0A	exit 1=0Afi=0A
--tjCHc7DPkfUGtrlw--

--lCAWRPmW1mITcIfM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9M/9v9viEa8HiNCkRAiZsAJ9poO8/ibIhQm99JR11zrUSlSU75wCdH5R2
s68YCq5sCq2ih28hOExSQdI=
=6Srk
-----END PGP SIGNATURE-----

--lCAWRPmW1mITcIfM--




More information about the rsync mailing list