[syslinux] tftpd-hpa: unixperms and umask

Geert Stappers stappers at stappers.nl
Thu Jun 5 10:37:47 PDT 2014


Op 2014-06-03 om 14:05 schreef Matus UHLAR - fantomas:
> Hello,
> 
> I have tried setting umask 0027 for tftpd, so files are created with
> permissions 0640.
> 
> However, tftpd-hpa refused uploading a file with error
> "must have global write permissions".
> 
> Looking at the source, I could avoid this issue by using "-p" option.
> However, it also seems that the umask is not applied when the "-p" option is
> used.
> 
> Can anyone explain this to me?
> 
> What's the point of needing global read/write permissions for files?

Good question.


> Thanks
> Matus UHLAR - fantomas

Just consider this e-mail as a repost of the original.


Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Syslinux mailing list