3 ms·
Probably worth mentioning that mode will be ANDed with the current umask, so _explicitly_ setting the file mode requires a little more work.
by tyingq 11y ago
Probably worth mentioning that mode will be ANDed with the current umask, so _explicitly_ setting the file mode requires a little more work.
- mmarx 11y agoBut this is also true if the file does not exist, and the could would then fail anyways.