zoukankan      html  css  js  c++  java
  • xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

    Linux shell & man chmod

    MBP

    
    xgqfrms-mbp:~ xgqfrms-mbp$ man chmod
    
    
                 and entries will be removed regardless of their inherited state.
    
                 If the user or group name contains spaces you can use ':' as the
                 delimiter
    
                 Example
                  # chmod +a "User 1:allow:read" file
    
         =a#     Individual entries are rewritten using the =a# mode.
    
                 Examples
                  # ls -le
                  -rw-r--r--+ 1 juser  wheel  0 Apr 28 14:06 file1
                    owner: juser
                    1: admin allow delete
                  # chmod =a# 1 "admin allow write,chown"
                  # ls -le
                  -rw-r--r--+ 1 juser  wheel  0 Apr 28 14:06 file1
                    owner: juser
                    1: admin allow write,chown
    
                 This mode may not be used to add new entries.
    
         -E      Reads the ACL information from stdin, as a sequential list of
                 ACEs, separated by newlines.  If the information parses cor-
                 rectly, the existing information is replaced.
    
         -C      Returns false if any of the named files have ACLs in non-canoni-
                 cal order.
    
         -i      Removes the 'inherited' bit from all entries in the named file(s)
                 ACLs.
    
         -I      Removes all inherited entries from the named file(s) ACL(s).
    
         -N      Removes the ACL from the named file(s).
    
    COMPATIBILITY
         The -v option is non-standard and its use in scripts is not recommended.
    
    SEE ALSO
         chflags(1), fsaclctl(1), install(1), chmod(2), stat(2), umask(2), fts(3),
         setmode(3), symlink(7), chown(8), mount(8), sticky(8)
    
    STANDARDS
         The chmod utility is expected to be IEEE Std 1003.2 (``POSIX.2'') compat-
         ible with the exception of the perm symbol ``t'' which is not included in
         that standard.
    
    HISTORY
         A chmod command appeared in Version 1 AT&T UNIX.
    
    BSD                              July 08, 2004                             BSD
    (END)
    
    

    chmod 777

    https://zzk.cnblogs.com/my/s/blogpost-p?Keywords=chmod

    refs

    Linux change username

    https://www.cnblogs.com/xgqfrms/tag/change username/


    Flag Counter

    ©xgqfrms 2012-2020

    www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


  • 相关阅读:
    numpy 笔记
    xdoj 1402 XY之说走就走的旅行
    红黑树 (洛谷 P3369 【模板】普通平衡树 )
    AVL树 (PAT甲级 Is It a Complete AVL Tree )
    xdoj-1297 Tr0y And His Startup
    C# 获取当前路径7种方法
    JQuery常用方法一览
    Jquery 处理字符串
    js 获取参数
    js cookie
  • 原文地址:https://www.cnblogs.com/xgqfrms/p/9551553.html
Copyright © 2011-2022 走看看