简体   繁体   English

Windows中文件权限未更改,但拒绝访问错误

[英]files permission is not changing in windows getting error access is denied

I used following command: 我使用以下命令:

icacls "E:\images\2013\*.*" /grant kamlesh:(OI)(CI)F /T

or 要么

icacls "E:\images\2013" /grant kamlesh:(OI)(CI)F 

its not working and i am getting following error: 它不起作用,我得到以下错误:

processed file: E:\images\2013\dogs-101a.jpg
E:\images\2013\dogs-103a.jpg: Access is denied.
Successfully processed 1 files; Failed processing 1 files

how i can get ownership or grant to see my all image files. 我如何获得所有权或授予看我所有图像文件的权限。

solve my self, just need to open command prompt as admin. 解决我的自我,只需要以管理员身份打开命令提示符。

then 然后

enter following commands: 输入以下命令:

takeown /f E:\f\kd\*
icacls "E:\images\kd\*" /grant kamlesh:(OI)(CI)F

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Robocopy-Windows权限(即使使用管理员也拒绝访问) - Robocopy - Windows Permission (Access Denied even with Admin) 如何在没有得到 ERROR_ACCESS_DENIED 的情况下将文件写入 PhysicalDrive (Windows 7)? - How to WriteFile to a PhysicalDrive (Windows 7) without getting ERROR_ACCESS_DENIED? 权限被拒绝错误:Windows Gitbash 上的 Python 3.8 - Permission Denied error: Python 3.8 on Windows Gitbash 构建和安装媒体管道窗口。 收到错误权限被拒绝:opencv_world3410.dll - Building and installing mediapipe windows. getting error Permission denied: for opencv_world3410.dll 对于 ssh 连接,在 Anaconda、Windows 中出现错误“无法加载密钥 ----,格式无效,权限被拒绝(公钥)” - For ssh connection, getting error "Failed to load key ----, invalid format, Permission denied (publickey)" in Anaconda, Windows 在 windows 上更改权限后访问文件时出现间歇性“访问被拒绝”异常 - Getting intermittent "Access is Denied" exception when accessing a file after changing the permissions on windows 为什么在授予所有人对文件的完全访问权限后,我不断收到权限被拒绝错误? - Why do I keep getting the permission denied error after giving Everyone full access to the file? 正在获取WindowsError:[错误5]访问被拒绝 - Getting WindowsError: [Error 5] Access is denied Windows上的流浪汉“权限被拒绝” - Vagrant 'permission denied' on Windows 文件权限-拒绝访问 - File Permission - access denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM