TFTPing file from server with Softlink

Warner Losh imp at bsdimp.com
Thu Jul 26 23:07:44 UTC 2012


On Jul 26, 2012, at 5:02 PM, Ravi Shankar wrote:

> I have use tftp as I am trying to load the file from a server running on a different blade and the line card running Uboot is trying to load the microkernel thru tftp boot.

I understand that.  tftpd often runs in a chroot.  In a chroot, you can't symlink to a file outside the chroot and have it work.

Warner

> --- On Thu, 7/26/12, Warner Losh <imp at bsdimp.com> wrote:
> 
> From: Warner Losh <imp at bsdimp.com>
> Subject: Re: TFTPing file from server with Softlink
> To: "Jess Disney" <dizydiz at gmail.com>
> Cc: "Ravi Shankar" <ksravi76 at yahoo.com>, freebsd-drivers at freebsd.org, "nvangogh" <nvangoghs at gmail.com>
> Date: Thursday, July 26, 2012, 2:58 PM
> 
> 
> On Jul 26, 2012, at 3:37 PM, Jess Disney wrote:
> > Use WinSCP. GUI way to FTP/SCP
> 
> *T*FTP.  This is likely for an embedded device or PXE booted server.  Neither is likely to have WinSCP, and besides, that doesn't support TFTP last time I used it.
> 
> Warner
> 
> 
> > 
> > Thanks for your time,
> > 
> > --
> > Jess Disney
> > 615-280-0582
> > 
> > 
> > On Thu, Jul 26, 2012 at 4:32 PM, Ravi Shankar <ksravi76 at yahoo.com> wrote:
> > 
> >> 
> >> Hi,
> >> 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.
> >> Can you some one help me what should I change to get the file working thru
> >> soft or symbolic links ( even symbolic link within same partition does not
> >> work !!)
> >> Any chroot permission I need to change?
> >> Thanks,
> >> Ravi
> >> _______________________________________________
> >> freebsd-drivers at freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.org"
> >> 
> > _______________________________________________
> > freebsd-drivers at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers
> > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe at freebsd.org"
> 



More information about the freebsd-drivers mailing list