Message388564
Deleting a file in Windows 10 has been updated to try a POSIX-style delete. For a POSIX delete, the filesystem unlinks the file even it's open, whereas a classic delete only unlinks a 'deleted' file when it's closed. The filesystem has to support it. NTFS does, which is the most important because the system drive is NTFS. This makes supporting FILE_SHARE_DELETE a more attractive option.
That said, there are sill significant limits. Memory-mapped files can't be deleted (renamed, yes, but not removed). Also, most programs don't share delete access on their opens, which means they can't open a file that's currently open with delete access (e.g. NamedTemporaryFile), and their open files can't be deleted. |
|
Date |
User |
Action |
Args |
2021-03-12 23:13:50 | eryksun | set | recipients:
+ eryksun, loewis, paul.moore, ncoghlan, pitrou, tim.golden, r.david.murray, dabrahams, sbt, piotr.dobrogost, zach.ware, steve.dower |
2021-03-12 23:13:50 | eryksun | set | messageid: <1615590830.57.0.818754035299.issue15244@roundup.psfhosted.org> |
2021-03-12 23:13:50 | eryksun | link | issue15244 messages |
2021-03-12 23:13:50 | eryksun | create | |
|