PUT unable to upload to server - Error Code 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tftp-hpa (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tftp-hpa
installing tftpd-hpa works.
I am able to GET files (from /var/lib/tftpboot) using tftp client on another computer (both are Ubuntu)
PUT does not work, it returns error:
"Error code 1: File not found"
This is not that the client side can't find file, because is I try to put a file that does not exists, I get: "No such file or directory"
So - plain-installed tftpd-hpa is unable to receive files for some reason - maybe /var/lib/tftpboot rights ?
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: tftpd-hpa 5.0-14ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-
NonfreeKernelMo
Architecture: i386
Date: Thu Oct 21 12:59:27 2010
ExecutablePath: /usr/sbin/in.tftpd
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron: PATH=(custom, no user)
SourcePackage: tftp-hpa
The default behaviour for tftpd is to not create new files, i.e. you can upload to an existing file location (as long as it has the correct permissions) but you can't create new files on the tftpd server.
You can change this behaviour by adding the --create parameter to TFTP_OPTIONS in /etc/default/ tftpd-hpa and amending the directory permissions on /var/lib/tftpboot.
However you should do this with EXTREME CAUTION; this effectively allows any remote client to upload data with no authentication to your server which could create potential Denial of Service problems due to full file systems etc...
I checked this in Lucid as well and this behaviour has not changed for Maverick.