From owner-freebsd-stable@FreeBSD.ORG Mon Jun 24 22:36:26 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 92EFEBB1 for ; Mon, 24 Jun 2013 22:36:26 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBEC131E for ; Mon, 24 Jun 2013 22:36:26 +0000 (UTC) Received: from zeta.ixsystems.com (drawbridge.ixsystems.com [206.40.55.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 8167A1D6FB; Mon, 24 Jun 2013 15:36:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1372113385; bh=10qrVycKMUk3SObTEubWCFJ5zzXFRAaCs5LTWZXX7Z8=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=QVn5YM1DiCxlXY+lcPaV8ZEaElGiIe1c4Qwk7zXwcI06ziN2mUUtPB0x5IKH05FaO bJ8CO6L/K7oj7UjMBjco8iTEJpw0/yF79CswAkCnvqrmZ4ByO7y3dAvR/twrgfwpjn DdYPHOpJZ/W5n7scDFvJOSRmFiAttr+wMmPA8X+k= Message-ID: <51C8C9E8.9050507@delphij.net> Date: Mon, 24 Jun 2013 15:36:24 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> Subject: Re: Another bug in SSH in FreeBSD 8.4 (sftp cannot create relative symlinks) References: <51C4DBFE.1010809@quip.cz> <51C4F5D4.6000802@delphij.net> <51C8C400.7080009@quip.cz> In-Reply-To: <51C8C400.7080009@quip.cz> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org, d@delphij.net X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2013 22:36:26 -0000 -----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 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-----