Another bug in SSH in FreeBSD 8.4 (sftp cannot create relative symlinks)

Xin Li delphij at delphij.net
Mon Jun 24 22:36:26 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 06/24/13 15:11, Miroslav Lachman wrote:
[...]
> The patch seems really simple and I know how to apply it, but I am
> not able to compile and install only fixed sftp command instead of
> the whole userland. Can you push me to the right direction?

I think you can go to /usr/src/secure/usr.bin/sftp and do:

make depend
make

Then, as root:

make install

I usually do a full world build to make sure that this doesn't break
something else but this change should only affect sftp(1).

Cheers,
- -- 
Xin LI <delphij at delphij.net>    https://www.delphij.net/
FreeBSD - The Power to Serve!           Live free or die
-----BEGIN PGP SIGNATURE-----

iQEcBAEBCgAGBQJRyMnoAAoJEG80Jeu8UPuz+JwH/20g7SVtpA+sbNmmZD2NQI+U
e5/gj4sujz1H509V2w5shaJw2ScUoHnyURQSeDxe0sBvkcYVCn0jLg1cKfs5pyjn
yLV150XTR0Dv4VPlGiVkqGrgmH6gNkBN4sQoQeC/zgSttXPRnbpjuiLVQz3LcOs7
5g4H6fKBsQX/bWEHOgaKSw63CLY8RIKohtzL5OIUEHWyzVFWeX7U/Mreh5KgE9jY
C20kpDrqATJgFBphyQDOEAHC/RZLzX3xqM9JI+vYFse8ra6JttvLBBQ7drhefbrc
7OZgpb4+CTAYLtk8b80jFSALCfGs962+seMLHzghJ5F+NL4V0kW/jFODaodDQcc=
=e84l
-----END PGP SIGNATURE-----


More information about the freebsd-stable mailing list