设置文件夹的权限

/* from: http://www.networksteve.com/forum/topic.php/An_error_occurred_while_applying_security_information_to:_c:/boo/?TopicId=33515&Posts=0 */php

An error occurred while applying security information to: c:\boot, c:\bootmgr, c:\hiberfil.sys, c:\pagefile.sys, c:\program files, c:\windowswindows

 

Disclaimer: You should not follow any of these instructions. They will cause you harm in every conceivable way. Don’t continue I say again … go read a book, see a movie, hit the gym, spend time with family and friends but by all means don’t read any further and certainly don’t follow any of these instructions.Windows 7Are you getting these errors? “an error occurred while applying security information to: “filename”“access is denied”“you currently don’t have access to this folder”File Folder Lock On Lock Off IconNote: you may want to create a “test folder” and test these instructions so you can get familiar with them. Also if you have lots of folders, subfolders and files your computer may take awhile to make all the changes. Just sit back and relax while it crunches away ;-)If you are going to want access to all your folders and files start with the topmost folder as we will be making a selection that will apply the setting to all subfolders and files. Ill point this out when we get to it later. You may only want to do this to files that you use directly and not mess with system files etc. These instructions can help you with files already on your system or files that you are bringing in from an external drive or other source.安全

 

先取得全部文件和文件夹的全部权(1-18),而后设置合适的权限(19-),这是两个设置合适权限的基本原则。app

取得全部权(1-18)this

1) 打开电脑,使用具备管理员权限的账号登入windows。若是你是这台电脑的惟一用户,那么你应该已是管理员了。若是其余人安装的系统,请联系管理员确认你具备相应的权限spa

2) 在顶级文件夹上点击右键,选择“属性”.net

3) 选择“安全”标签orm

4) 点击“高级”,忽略弹出消息get

5) 选择“全部者”标签it

6) 点击“编辑”

7) 选中当前登陆的用户名

8) 选中“替换全部的子文件夹和文件”。若是没有选中这个选项的话,全部的修改将不会被应用到子文件夹和文件

9) 点击“应用”

10) 可能会弹出一个对话框“你没有。。。”

11) 点击“是”

12) 将弹出另一个对话框“若是你要修改全部者。。。”

13) 点击“OK”

14) 点击“OK”,关闭“高级安全设置”

15) 下一个窗口显示你是当前的全部者

16) 点击“OK”

17) 点击“OK”,关闭属性窗口

18) 如今已经回到文件夹列表

如今,你已是这些文件的全部者了。能够开始设置须要的权限了

19) 选择须要设置权限的文件夹

20) 选择“安全”标签

21) 可选:能够看到一个用户列表,显示当前具备权限的用户。若是须要移出一个用户的权限的话,点击“编辑”,选择要移除的用户名,点击“删除”

22) 若是你没有在列表里的话,点击“添加”,输入你的用户名

23) 点击“检查用户”,应该能够找到你的信息

24) 点击“OK”

25) 如今应该回到了“权限”窗口

26) 选择“容许”/“彻底控制”。“特殊权限”没有被选中,这个没有关系

27) 点击“应用”

28) 点击“OK”

29) 点击“OK”

30) 可选:若是显示一个“锁”,代表你是这个文件夹惟一的用户

 

也许还有其余的缘由致使“拒绝访问”。比较麻烦的一个是,文件或者路径名太长(>260个字符在windows7中),你须要修改上级文件夹的名称,来保证最长的路径名小于260个字符