Message388564
| Author |
eryksun |
| Recipients |
dabrahams, eryksun, loewis, ncoghlan, paul.moore, piotr.dobrogost, pitrou, r.david.murray, sbt, steve.dower, tim.golden, zach.ware |
| Date |
2021年03月12日.23:13:50 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1615590830.57.0.818754035299.issue15244@roundup.psfhosted.org> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|