From owner-freebsd-drivers@FreeBSD.ORG Mon Jul 30 17:14:27 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 48E70106564A for ; Mon, 30 Jul 2012 17:14:27 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id E21338FC0A for ; Mon, 30 Jul 2012 17:14:26 +0000 (UTC) Received: (qmail 22049 invoked by uid 0); 30 Jul 2012 17:14:25 -0000 Received: from 67.206.187.63 by rms-us016 with HTTP Content-Type: text/plain; charset="utf-8" Date: Mon, 30 Jul 2012 13:14:23 -0400 From: "Dieter BSD" Message-ID: <20120730171425.298410@gmx.com> MIME-Version: 1.0 To: freebsd-drivers@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: pqVkcPUV3zOlNR3dAHAh0tV+IGRvb4Cs Subject: Re: TFTPing file from server with Softlink X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2012 17:14:27 -0000 [ posted this a few days ago but it never showed up, trying again... ] > I am trying to TFTP a file from the server running FreeBSD 6.2 > based OS where the file is a symbolic link to a a file in another > partition. The TFTP server is failing saying no SUCH FILE > ( Validate_access fails), but when I copy the file locally, the > server responds and file is FTPd. Try "grep ftp /etc/inetd.conf" and see what differences you have between ftp and tftp. Based on your description of the problem, I suspect you have a difference in chroot between ftp and tftp. A different partition can be ok, but must be under the chroot if you're using chroot. A symbolic link should be ok, but beware of absolute pathnames if you're using chroot. If tftp is chroot /foo, an absolute pathname should leave out the /foo (and thus will not work without the chroot). Or use a relative pathname. And leave out the /foo on the machine asking for the file. Using chroot for tftp is generally a good idea for security reasons.