A program can not ignore the read-only attribute. Simply put, the file system, the underlying mechanic, will not let you modify or delete a file if the read-only attribute is set. Now, you say there are programs that appear to "ignore" this attribute, and I have seen this in a few programs. However, it only appears to ignore this flag. In reality, as long as the program is launched with sufficient file system privileges by the user, or a run-as command, the program can detect, remove, and reset the read-only attribute while working on the file. Also, in order to modify the read-only attribute, you must have sufficient modify/write privileges (ACL) to modify the file.
В чем разница между атрибутом «только для чтения» и флагом «только для чтения» в Windows?
957
NobleUplift
Я ищу технический ответ, а не общий ответ, касающийся того, как Windows на самом деле обрабатывает эти свойства. Например, есть некоторые программы, которые распознают атрибут «только для чтения», а другие полностью его игнорируют.
1 ответ на вопрос
3
Keltari
Похожие вопросы
-
12
Почему папка / winsxs становится такой большой и ее можно уменьшить?
-
2
Повышенные привилегии для запуска приложений в Windows?
-
14
PDF Viewer в Windows
-
-
7
Какие службы Windows можно безопасно отключить?
-
8
Firefox PDF плагин для просмотра PDF в браузере на Windows
-
1
Windows теряет макет экрана
-
1
Есть ли способ предотвратить установку / обновление, чтобы засорять мой жесткий диск загадочными пап...
-
1
Как я могу получить доступ к принтеру Windows Vista из Ubuntu по сети?
-
6
Просмотр журнала в Windows
-
3
Фоновая проблема Windows с двумя экранами