varet
Dabbler
- Joined
- Dec 6, 2021
- Messages
- 19
I am struggling with TFTPD on my Truenas. I have tested tftpclients on different systems (mac, debian, windows) and all fail with the same error
The setup:
i tried also with nobody user
The Directory /mnt/data/trftproot has been tested with: 773, 772, 777. always the same error
owner has been updated to nobody:nogroup or tftp:tftp (according to the service owner)
an example of the error (i get with any system)
The problem is under the umask used on tftpd. Basically the umask is not fully modifiable by the Webint, especially the OTHER user is missing.
The command running is:
The setup:
i tried also with nobody user
The Directory /mnt/data/trftproot has been tested with: 773, 772, 777. always the same error
owner has been updated to nobody:nogroup or tftp:tftp (according to the service owner)
an example of the error (i get with any system)
root@router:/config# tftp 10.10.0.200 -l config.boot -r config.boot -p
tftp: server error: (2) File must have global write permissions
The problem is under the umask used on tftpd. Basically the umask is not fully modifiable by the Webint, especially the OTHER user is missing.
The command running is:
command should become for writting to work/usr/sbin/in.tftpd --listen --user nobody --address 0.0.0.0:69 --secure --create --umask 002 /mnt/data/tftproot
/usr/sbin/in.tftpd --listen --user nodoby --address 0.0.0.0:69 --secure --create --umask 005 /mnt/data/tftproot