On 2016/01/25 04:32, Jérémie Courrèges-Anglas wrote: > > Hi Matthew, > > Matthew Martin <phy1...@gmail.com> writes: > > > On Sun, Jan 24, 2016 at 03:05:28AM -0600, Matthew Martin wrote: > >> Add a -R flag to tftpd for a read only mode. This allows for a tighter > >> pledge than currently possible because by default existing files can be > >> overwritten (but no new files created). Perhaps read only should be the > >> default since it is surprising that tftp can overwrite by default. > > Files have to be world-writable to be overwritten ; thus except for the > tighter pledge request, I don't see the benefit. What use case do you > have in mind?
I don't see why it would be surprising that tftpd can write files, it's expected behaviour from a tftpd and the manual talks about writing to files in a reasonably prominent place on the first page.