You are here: Home / Topics / File permission commands in Linux

File permission commands in Linux

Filed under: Linux on 2024-04-26 12:51:57

PERMISSION      EXAMPLE

        U   G   W
       rwx rwx rwx     chmod 777 filename
       rwx rwx r-x     chmod 775 filename
       rwx r-x r-x     chmod 755 filename
       rw- rw- r--     chmod 664 filename
       rw- r-- r--     chmod 644 filename

# NOTE: Use 777 sparingly!

       LEGEND
       U = User
       G = Group
       W = World

       r = Read
       w = write
       x = execute
       - = no access

About Author:
M
Mr. Dubey     View Profile
Founder and CEO of MCQ Buddy. I just like to help others.