[syslinux] wierd problem concerning directory, symlinks, chroot

H. Peter Anvin hpa at zytor.com
Wed Oct 30 01:46:52 PST 2002


Aamer Akhter wrote:
>>You must get the client to send the filename as /tftpboot/aaa-config to
>>use this configuration.
> 
> 
> yeah, that's not going to happen due to the userbase. :-(
> 
> would it be possible to get that patch?
> 
> i'm a bit confused, so when you just put a directoryname as the last arg, does
> that not do a cwd onto the directory. it seems that chroot is the only thing
> that is working..
> 

By the way, I probably should point out that you can solve this problem 
by using a filename remapping table.  The following rule would take any 
non-absolute filename and turn it into /tftpboot/filename:

r	^[^/]	/tftpboot/\0

	-hpa




More information about the Syslinux mailing list