Red Hat Bugzilla – Bug 21299
tftp server will not allow uploads
Last modified: 2014-03-16 22:17:24 EDT
I'm currently using tftp-server-0.17-5 and the patched version of xinetd
from the redhat site. When I try to put a file to the /tftpboot directory,
I get the following message:
Error Code 2: Access Violation.
Also, in the /var/log/secure file, the following:
Nov 24 08:03:27 server1 xinetd start: tftp pid=3580 from=x.x.x.x
(note: x.x.x.x is the address of the linux box)
Nothing relating to the problem appears in the /var/log/messages file.
I am doing all of the testing from the linux box itself. I have gone into
the /tftpboot directory and created the file (touch testfile) and changed
the rights on it (chmod 777 testfile). I can, however download files from
the tftp server all day long. I posted a message to the redhat-list
mailing list and was told that I needed to change back to tftp-server-0.16
to be able to upload files. Am I doing something wrong or missing
something? I really need to be able to upload files to the tftp server.
Any help is much appreciated.
TFTP puts don't work with RHL7 tftp, you have to revert or patch it.
You should be getting timeouts, however, not access violation. Most probably
you're not using '-s' switch (for chroot) and trying to 'put test.file', not 'put /tftpboot/test.file'.
The previous version of tftpd was more allowing about that.
*** This bug has been marked as a duplicate of 18128 ***