Bug 53931 - tftpd, multiple prefix function broken
Summary: tftpd, multiple prefix function broken
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: tftp
Version: roswell
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-09-22 03:05 UTC by ae
Modified: 2015-03-05 01:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-10-25 14:00:45 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.