| Summary: | TFTPd fails to upload a file with *** invalid open64 call: O_CREAT without mode ***: tftpd terminated | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Mike Matera <mike.matera> |
| Component: | Networking | Assignee: | unassigned |
| Status: | VERIFIED FIXED | ||
| Severity: | minor | CC: | busybox-cvs |
| Priority: | P5 | Keywords: | patch |
| Version: | 1.15.x | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ubuntu-linux-x86_64 | |
| Build: | |||
| Attachments: | Patch to fixe the problem. | ||
Applied to git, thanks! Awesome... I'm glad to help. |
Created attachment 1027 [details] 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.