| Предыдущий | Следующий |
| ERROR_NO_SITENAME | ERROR_CANT_RESOLVE_FILENAME |
ERROR_CANT_ACCESS_FILE
Что означает ERROR_CANT_ACCESS_FILE
ERROR_CANT_ACCESS_FILE — система не может получить доступ к файлу.
Что проверить
Определите защищаемый объект, операцию и контекст безопасности, который использовала Windows.
- Проверьте фактический token, ACL/privilege и конкретное правило безопасности, которое относится к этому коду.
- Изменяйте права только после подтверждения нужного права/privilege; запуск от администратора не является универсальным исправлением.
Исходная формулировка
Windows resolved a file reference but cannot access the file in the current operation context.
a reparse point or mount target resolves to an inaccessible location
Restore the file or backing storage, correct narrowly scoped permissions, release conflicting use, hydrate the placeholder, or retry after a documented transient condition. Do not grant broad access such as Everyone Full Control to bypass an unknown cause.
the file was renamed, replaced, deleted, quarantined, or made offline between discovery and access
A service discovers a cloud placeholder while the user is online, then tries to read it after the sync provider disconnects. The operation receives 1920. Restoring provider connectivity and hydrating the file resolves access; changing the filename would not.
Технические ссылки
- Microsoft: System Error Codes (1700–3999)
- Microsoft: Win32 Error Codes in MS-ERREF
- Microsoft: CreateFile
- Microsoft: File security and access rights
Нужно найти другой код? Найти другой код состояния или ошибки.