zoukankan      html  css  js  c++  java
  • 设置文件夹的权限

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

    An error occurred while applying security information to: c:oot, c:ootmgr, c:hiberfil.sys, c:pagefile.sys, c:program files, c:windows

    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-),这是两个设置合适权限的基本原则。

    取得所有权(1-18)

    1) 打开电脑,使用具有管理员权限的帐号登入windows。如果你是这台电脑的唯一用户,那么你应该已经是管理员了。如果其他人安装的系统,请联系管理员确认你具有相应的权限

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

    3) 选择“安全”标签

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

    5) 选择“所有者”标签

    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个字符

  • 相关阅读:
    开源软件的国内镜像
    ruby学习之路(一)
    VBS正则表达式
    fscanf和feof的组合使用
    计算机产生随机数
    常用:JQ
    unitegallery 测试使用-自动播放关闭
    H5重力感应(转)
    JS中,如何判断一个数是不是小数?如果是小数,如何判断它是几位小数 保留n位小数
    input禁止显示历史输入记录
  • 原文地址:https://www.cnblogs.com/kofkyo/p/3467964.html
Copyright © 2011-2022 走看看