The trouble with symbolic links
The trouble with symbolic links
Posted Jul 8, 2022 0:46 UTC (Fri) by zaitseff (subscriber, #851)In reply to: The trouble with symbolic links by mpr22
Parent article: The trouble with symbolic links
Indeed. However, I can't quite see how to use these: something I didn't mention is that mkdir() is only run if writing a data file: if no data file is saved (a user-initiated operation), no directory is created. So I'm not sure how to avoid the TOCTOU problem in such a situation.