Closed Imberflur closed 3 months ago
Hm, you're right. It would be good to both fix those docs and document the default mode. Could you submit a patch to fix the docs?
I'd like to change the default mode, but that'll require a 4.0 release. I've added it to the list (https://github.com/Stebalien/tempfile/issues/258).
The documentation notes:
I read this as tempdirs defaulting to
0o600
, but in the implementation it looks like this default is only applied for tempfiles, not tempdirs?(sidenote: it looks like there was a suggestion in https://github.com/Stebalien/tempfile/issues/114 to make the default 0700 for directories)