zoukankan      html  css  js  c++  java
  • setfacl命令

    SetFacl命令

    1. 取消setfacl权限

    setfacl -b xxx ### xxx表示目录或文件

    2. 赋予权限setfacl权限

    setfacl -m u:user:rx /usr/local/topconfig ### topconfig目录必须带x权限,否则会不能进入

    3.赋予权限让该目录下的文件继承setfacl权限

    setfacl -m -R d:u:user:xx /usr/local/topconfig/* ###前提是先执行步骤2,否则还是连进入的权限都没有,则topconfig目录下的文件就有继承权限

                                                                                                                                  

    附录

    http://cn.linux.vbird.org/linux_basic/0410accountmanager_3.php ###鸟哥的讲解非常详细

    http://man.linuxde.net/setfacl

    http://blog.csdn.net/qwq_qaq/article/details/54882203

  • 相关阅读:
    SpringMVC源码阅读(一)
    Struts2技术内幕-----第七章
    1118 Lining Up
    1146 ID Codes
    1056 IMMEDIATE DECODABILITY
    1028 Web Navigation
    1045 Bode Plot
    1083 Moving Tables
    并查集路径压缩
    线段树
  • 原文地址:https://www.cnblogs.com/flyback/p/6483495.html
Copyright © 2011-2022 走看看