zoukankan      html  css  js  c++  java
  • 在linux下修改文件夹机器子文件夹的权限

    使用命令:chmod 

    用法:chmod [选项]... 模式[,模式]... 文件...
     或:chmod [选项]... 八进制模式 文件...
     或:chmod [选项]... --reference=参考文件 文件...
    Change the mode of each FILE to MODE.
    With --reference, change the mode of each FILE to that of RFILE.

    -c, --changes like verbose but report only when a change is made
    -f, --silent, --quiet suppress most error messages
    -v, --verbose output a diagnostic for every file processed
    --no-preserve-root do not treat '/' specially (the default)
    --preserve-root fail to operate recursively on '/'
    --reference=RFILE use RFILE's mode instead of MODE values
    -R, --recursive change files and directories recursively
    --help 显示此帮助信息并退出
    --version 显示版本信息并退出

    Each MODE is of the form '[ugoa]*([-+=]([rwxXst]*|[ugo]))+|[-+=][0-7]+'.

    GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
    请向<http://translationproject.org/team/zh_CN.html> 报告chmod 的翻译错误
    要获取完整文档,请运行:info coreutils 'chmod invocation'

    例如:

    chmod -R 777 dirName
  • 相关阅读:
    Java RunTime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. ......
    UVA 1597 Searching the Web
    UVA 1596 Bug Hunt
    UVA 230 Borrowers
    UVA 221 Urban Elevations
    UVA 814 The Letter Carrier's Rounds
    UVA 207 PGA Tour Prize Money
    UVA 1592 Database
    UVA 540 Team Queue
    UVA 12096 The SetStack Computer
  • 原文地址:https://www.cnblogs.com/keepmoving1113/p/4928400.html
Copyright © 2011-2022 走看看