Date: Mon, 30 Jul 2012 13:14:23 -0400 From: "Dieter BSD" <dieterbsd@engineer.com> To: freebsd-drivers@freebsd.org Subject: Re: TFTPing file from server with Softlink Message-ID: <20120730171425.298410@gmx.com>
next in thread | raw e-mail | index | archive | help
[ 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120730171425.298410>