使用Share-Delete打开文件是否允许其他人写? [英] Does opening a file with Share-Delete allow others to write?
本文介绍了使用Share-Delete打开文件是否允许其他人写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
FileShare枚举提供各种标志,例如读取,写入,删除,....通常,我认为共享一个文件进行删除仅允许删除,而不能进行其他任何操作(例如读取).
The FileShare enumeration offers various flags such as Read, Write, Delete, ... . Normally I'd think that sharing a file for deletion only allows deletion but nothing else (like reading).
但是,我远程记得Windows仅区分对文件的只读访问和完全访问,因此实际上共享删除也允许写入文件.可悲的是,这是从很多年前开始的,我既没有找到原始来源也没有任何相关信息.是否有关于实际行为的可靠规范?是依赖于操作系统还是FS?
However, I remotely recall that Windows only differentiates between read-only and full access to files, so actually sharing for deletion allows writing to the file as well. Sadly this is from many years back and I neither found the original source nor any related info. Is there a reliable spec on the actual behavior? Is it dependent on the OS or the FS?
推荐答案
查看全文