Not to be Fixed
Details
Details
Assignee
Ievgen Stepanovych
Ievgen StepanovychReporter
Vassilis Aretakis
Vassilis AretakisLabels
Time remaining
0m
Components
Fix versions
Affects versions
Priority
Katalon Platform
Katalon Platform
Created December 15, 2021 at 3:18 PM
Updated July 5, 2023 at 5:29 PM
Resolved July 5, 2023 at 5:29 PM
I have found a potential bug with TFTP server in Scale.
TLDR;
tftpd-hpa has wrong umask, which causes uploads to fail also umask not changing when changing ui settings.
Please check my picture with the WebUI settings
an example of the error, I get with any tftp client I used (Linux, Windows, Mac)
The reason is, when the file is created it does not have the right other permission, which should have write enabled.
Process is running with the specific flags:
the umask 002 ends up to a 775 file, which leads to rwxrwxr-x and as result write is missing from the other (global) permission. We also notice, My UI has a prefered rw-rw-??? (? because I have no control of the other byte) and still the system generates a default umask.
the ideal umask with basis on my setting I applied through webui should be 115
Further testing reveals, this is limited to UI (Assumption, as I know little about the link between midclt and ui) as I can update the umask using command line
Original discussion started https://www.truenas.com/community/threads/rc-22-02-rc-1-2-tftp-bug.97450/#post-672880
I wish I provided enough information with the potential bug