• RH033读书笔记(4)-Lab 5 File Permissions


    Lab 5 File Permissions

    Sequence 1: Determining File Permissions

    1. What is the symbolic representation
    644 rw-r--r--
    755 rwxr-xr-x
    000 ---------
    711 rwx--x--x
    700 rwx------
    777 rwxrwxrwx
    555 r-xr-xr-x
    111 --x--x--x
    600 rw-------
    731 rwx-wx--x

    2. Given a file with permissions 755, what commands would change the permissions to r-xr--
    r--?
    rwxr-xr-x
    chmod 544 filename
    chmod u-w,go-x filename
    chmod u=rx,go=r filename

    3. execute downloaded a file.
    chmod +x cmdname
    chmod 755 cmdname

    4. How could root change the ownership of a file so that it is associated with the user joe
    and the group apache?
    chown joe filename ; chgrp apache filename
    chown joe:apache filename

  • 相关阅读:
    8.09_python_lx_shopping
    8.06_python_lx_day25
    8.05_python_lx_day24
    8.05_python_lx_day23
    8.03_python_lx_day21<2>
    Java注解
    Java多线程04
    Java多线程03
    Java多线程02
    Java多线程01
  • 原文地址:https://www.cnblogs.com/thlzhf/p/3437491.html
Copyright © 2020-2023  润新知