[lug] tftp problem

Nate Duehr nate at natetech.com
Mon Mar 12 17:42:51 MST 2001


To send files to the tftpd that ships with most Linux distros, the file needs 
to already exist in your tftp root dir or wherever...

So "touch Test" and it'll let you upload it there.

Quoting charles at lunarmedia.net:

> this issue sounds familiar to the point that i think i may have seen
> this
> before.
> 
> i am trying to write to a file on a remote server via tftp. the file
> resident on the tftp server has 777 permissions and resides in the root
> of
> the tftp directory structure /tftpboot/.
> when i try to write to the file i receive the following in syslog:
> 
> Mar  9 12:13:01 testbox tftpd[1629]: tftpd: write: Operation not
> permitted
> Mar  9 12:13:08 testbox tftpd[1633]: tftpd: trying to get file: Test
> Mar  9 12:13:08 testbox tftpd[1633]: tftpd: serving file from /tftpboot/
> 
> 
> Test is as follows:
> -rwxrwxrwx    1 root     root            0 Mar  9 12:13 Test
> 
> i am running:
> tftp-server-0.16-5
> 
> inetd appears as:
> tftp	dgram	udp	wait	root	/usr/sbin/tcpd	in.tftpd
> /tftpboot/
> 
> 
> do i need a flag with in.tftpd to allow files to be written to the
> directory. that sounds familiar, but i can't find anything regarding the
> flag in man in.tftpd or man inetd
> 
> -thanks cjm
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> 



--
Nate Duehr, nate at natetech.com

"Never underestimate the bandwidth of a 747 filled with CD-ROM's."



More information about the LUG mailing list