Linux file permissions assignment

chmod: give the file permissions (change mode)

  • File permissions in three: r (read read) w (write write) x (execute execution)

  

 

  • chmod abc: a file owner has permission to other users of the file where the group has b authority, other users have permission to c

    - chmod 736 fileA:

          7 (r + w + x) of the file owner has read-write fileA execute permissions

          3 (_ + w + x) other user group files are located on fileA have write permissions to perform

          6 (r + w + _) executable permissions to other users who have fileA

 

Guess you like

Origin www.cnblogs.com/VCplus/p/11449480.html