[Bug 1021] New: TFTPd fails to upload a file with *** invalid open64 call: O_CREAT without mode ***: tftpd terminated

bugzilla at busybox.net bugzilla at busybox.net
Mon Feb 1 21:57:25 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1021

            Target: ubuntu-linux-x86_64
           Summary: TFTPd fails to upload a file with *** invalid open64
                    call: O_CREAT without mode ***: tftpd terminated
           Product: Busybox
           Version: 1.15.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: patch
          Severity: minor
          Priority: P5
         Component: Networking
        AssignedTo: unassigned at busybox.net
        ReportedBy: mike.matera at xilinx.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


Created an attachment (id=1027)
 --> (https://bugs.busybox.net/attachment.cgi?id=1027)
Patch to fixe the problem.

It seems that on 64bit libc you MUST specify the file mode in open.  Since
tftpd fails to do this it cannot be used to upload a file in BusyBox.  I have
created a patch that fixes the problem.  The patch applies mode '0666' to all
uploaded files.  This might not be what people want, but I needed to get around
the problem fast.

Thank you for BusyBox, it's amazing.


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list