On Fri, 19 Dec 2025, Bart via fpc-devel wrote:
Hi, Just wondering. If you call TFileStream.Create(aFileName, aFileMode) it calls TFileStream.Create(aFileName, aFileMode, 438). 438 (octal 666) tramslates to -rw-rw-rw- If I create a file on my linux machine (using touch or cat) then rights will be -rw-rw-r--, which is equivalent to octal 664 (decimal 436).
It actually depends on the setting of umask: https://askubuntu.com/questions/44542/what-is-umask-and-how-does-it-work
So, that just made me wonder why the choice for octal 666? Notice that I'm a linux novice.
As you see in the page above, the default is 666. Michael. _______________________________________________ fpc-devel maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
