Bug 53931

Summary: tftpd, multiple prefix function broken
Product: [Retired] Red Hat Public Beta Reporter: ae
Component: tftpAssignee: Phil Knirsch <pknirsch>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: roswellCC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-25 14:00:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ae 2001-09-22 03:05:47 UTC
Description of Problem:
"man tftpd" says 
	Access to files may be restricted by invoking tftpd with a list of direc-
	tories by including pathnames as server program arguments ...
but I get this behaviour only with the first such directory.

Version-Release number of selected component (if applicable):
	tftp-server-0.17-14

How Reproducible:
	completely

Steps to Reproduce:
1.  make /etc/xinetd.d/tftpd say
	server_args             = /tftpboot /usr/lib/X11/ncd
2.  /etc/rc.d/init.d/xinetd restart
3.  tftp the-roswell-machine
     tftp> get /tftpboot/somefile
	(works)
     tftp> get /usr/lib/X11/ncd/otherfile
              (access violation)
Actual Results:

     see above

Expected Results:

     see above

Additional Information:
	
     correct in Seawolf.

Comment 1 Phil Knirsch 2001-10-25 14:00:39 UTC
Just tested it with tftp-server-0.17-14 and had no problems.

Have you verified that the directory and the files are world readable as the
tftp server will run as nobody?
Read ya, Phil