Linux Chmod Command Cheatsheet

Use this cheatsheet to find out the meaning of a given chmod command. Understand how each command translates into filesystem permissions.

The chmod command is used to set permissions for files and directories in a Linux system. It supports an octal permission format that is translated into read (r), write (w) and execute (x) permissions for user owner, group owner and others.

If you want to learn more about the meaning of a specific chmod command I have written a tutorial about the chmod 755 command.

The commands in this cheatsheet are split in pages:

Table of Contents

Chmod 000

The chmod 000 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: no access (0)

When the chmod 000 command is applied to a file the resulting filesystem permissions are:

----------

When the chmod 000 command is applied to a directory the resulting filesystem permissions are:

d---------

Chmod 001

The chmod 001 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: execute (1)

When the chmod 001 command is applied to a file the resulting filesystem permissions are:

---------x

When the chmod 001 command is applied to a directory the resulting filesystem permissions are:

d--------x

Chmod 002

The chmod 002 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: write (2)

When the chmod 002 command is applied to a file the resulting filesystem permissions are:

--------w-

When the chmod 002 command is applied to a directory the resulting filesystem permissions are:

d-------w-

Chmod 003

The chmod 003 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: write, execute (3)

When the chmod 003 command is applied to a file the resulting filesystem permissions are:

--------wx

When the chmod 003 command is applied to a directory the resulting filesystem permissions are:

d-------wx

Chmod 004

The chmod 004 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: read (4)

When the chmod 004 command is applied to a file the resulting filesystem permissions are:

-------r--

When the chmod 004 command is applied to a directory the resulting filesystem permissions are:

d------r--

Chmod 005

The chmod 005 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: read, execute (5)

When the chmod 005 command is applied to a file the resulting filesystem permissions are:

-------r-x

When the chmod 005 command is applied to a directory the resulting filesystem permissions are:

d------r-x

Chmod 006

The chmod 006 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: read, write (6)

When the chmod 006 command is applied to a file the resulting filesystem permissions are:

-------rw-

When the chmod 006 command is applied to a directory the resulting filesystem permissions are:

d------rw-

Chmod 007

The chmod 007 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: no access (0)
  • Others: read, write, execute (7)

When the chmod 007 command is applied to a file the resulting filesystem permissions are:

-------rwx

When the chmod 007 command is applied to a directory the resulting filesystem permissions are:

d------rwx

Chmod 010

The chmod 010 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: no access (0)

When the chmod 010 command is applied to a file the resulting filesystem permissions are:

------x---

When the chmod 010 command is applied to a directory the resulting filesystem permissions are:

d-----x---

Chmod 011

The chmod 011 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: execute (1)

When the chmod 011 command is applied to a file the resulting filesystem permissions are:

------x--x

When the chmod 011 command is applied to a directory the resulting filesystem permissions are:

d-----x--x

Chmod 012

The chmod 012 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: write (2)

When the chmod 012 command is applied to a file the resulting filesystem permissions are:

------x-w-

When the chmod 012 command is applied to a directory the resulting filesystem permissions are:

d-----x-w-

Chmod 013

The chmod 013 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: write, execute (3)

When the chmod 013 command is applied to a file the resulting filesystem permissions are:

------x-wx

When the chmod 013 command is applied to a directory the resulting filesystem permissions are:

d-----x-wx

Chmod 014

The chmod 014 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: read (4)

When the chmod 014 command is applied to a file the resulting filesystem permissions are:

------xr--

When the chmod 014 command is applied to a directory the resulting filesystem permissions are:

d-----xr--

Chmod 015

The chmod 015 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: read, execute (5)

When the chmod 015 command is applied to a file the resulting filesystem permissions are:

------xr-x

When the chmod 015 command is applied to a directory the resulting filesystem permissions are:

d-----xr-x

Chmod 016

The chmod 016 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: read, write (6)

When the chmod 016 command is applied to a file the resulting filesystem permissions are:

------xrw-

When the chmod 016 command is applied to a directory the resulting filesystem permissions are:

d-----xrw-

Chmod 017

The chmod 017 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: execute (1)
  • Others: read, write, execute (7)

When the chmod 017 command is applied to a file the resulting filesystem permissions are:

------xrwx

When the chmod 017 command is applied to a directory the resulting filesystem permissions are:

d-----xrwx

Chmod 020

The chmod 020 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: no access (0)

When the chmod 020 command is applied to a file the resulting filesystem permissions are:

-----w----

When the chmod 020 command is applied to a directory the resulting filesystem permissions are:

d----w----

Chmod 021

The chmod 021 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: execute (1)

When the chmod 021 command is applied to a file the resulting filesystem permissions are:

-----w---x

When the chmod 021 command is applied to a directory the resulting filesystem permissions are:

d----w---x

Chmod 022

The chmod 022 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: write (2)

When the chmod 022 command is applied to a file the resulting filesystem permissions are:

-----w--w-

When the chmod 022 command is applied to a directory the resulting filesystem permissions are:

d----w--w-

Chmod 023

The chmod 023 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: write, execute (3)

When the chmod 023 command is applied to a file the resulting filesystem permissions are:

-----w--wx

When the chmod 023 command is applied to a directory the resulting filesystem permissions are:

d----w--wx

Chmod 024

The chmod 024 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: read (4)

When the chmod 024 command is applied to a file the resulting filesystem permissions are:

-----w-r--

When the chmod 024 command is applied to a directory the resulting filesystem permissions are:

d----w-r--

Chmod 025

The chmod 025 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: read, execute (5)

When the chmod 025 command is applied to a file the resulting filesystem permissions are:

-----w-r-x

When the chmod 025 command is applied to a directory the resulting filesystem permissions are:

d----w-r-x

Chmod 026

The chmod 026 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: read, write (6)

When the chmod 026 command is applied to a file the resulting filesystem permissions are:

-----w-rw-

When the chmod 026 command is applied to a directory the resulting filesystem permissions are:

d----w-rw-

Chmod 027

The chmod 027 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write (2)
  • Others: read, write, execute (7)

When the chmod 027 command is applied to a file the resulting filesystem permissions are:

-----w-rwx

When the chmod 027 command is applied to a directory the resulting filesystem permissions are:

d----w-rwx

Chmod 030

The chmod 030 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: no access (0)

When the chmod 030 command is applied to a file the resulting filesystem permissions are:

-----wx---

When the chmod 030 command is applied to a directory the resulting filesystem permissions are:

d----wx---

Chmod 031

The chmod 031 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: execute (1)

When the chmod 031 command is applied to a file the resulting filesystem permissions are:

-----wx--x

When the chmod 031 command is applied to a directory the resulting filesystem permissions are:

d----wx--x

Chmod 032

The chmod 032 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: write (2)

When the chmod 032 command is applied to a file the resulting filesystem permissions are:

-----wx-w-

When the chmod 032 command is applied to a directory the resulting filesystem permissions are:

d----wx-w-

Chmod 033

The chmod 033 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: write, execute (3)

When the chmod 033 command is applied to a file the resulting filesystem permissions are:

-----wx-wx

When the chmod 033 command is applied to a directory the resulting filesystem permissions are:

d----wx-wx

Chmod 034

The chmod 034 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: read (4)

When the chmod 034 command is applied to a file the resulting filesystem permissions are:

-----wxr--

When the chmod 034 command is applied to a directory the resulting filesystem permissions are:

d----wxr--

Chmod 035

The chmod 035 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: read, execute (5)

When the chmod 035 command is applied to a file the resulting filesystem permissions are:

-----wxr-x

When the chmod 035 command is applied to a directory the resulting filesystem permissions are:

d----wxr-x

Chmod 036

The chmod 036 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: read, write (6)

When the chmod 036 command is applied to a file the resulting filesystem permissions are:

-----wxrw-

When the chmod 036 command is applied to a directory the resulting filesystem permissions are:

d----wxrw-

Chmod 037

The chmod 037 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: write, execute (3)
  • Others: read, write, execute (7)

When the chmod 037 command is applied to a file the resulting filesystem permissions are:

-----wxrwx

When the chmod 037 command is applied to a directory the resulting filesystem permissions are:

d----wxrwx

Chmod 040

The chmod 040 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: no access (0)

When the chmod 040 command is applied to a file the resulting filesystem permissions are:

----r-----

When the chmod 040 command is applied to a directory the resulting filesystem permissions are:

d---r-----

Chmod 041

The chmod 041 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: execute (1)

When the chmod 041 command is applied to a file the resulting filesystem permissions are:

----r----x

When the chmod 041 command is applied to a directory the resulting filesystem permissions are:

d---r----x

Chmod 042

The chmod 042 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: write (2)

When the chmod 042 command is applied to a file the resulting filesystem permissions are:

----r---w-

When the chmod 042 command is applied to a directory the resulting filesystem permissions are:

d---r---w-

Chmod 043

The chmod 043 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: write, execute (3)

When the chmod 043 command is applied to a file the resulting filesystem permissions are:

----r---wx

When the chmod 043 command is applied to a directory the resulting filesystem permissions are:

d---r---wx

Chmod 044

The chmod 044 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: read (4)

When the chmod 044 command is applied to a file the resulting filesystem permissions are:

----r--r--

When the chmod 044 command is applied to a directory the resulting filesystem permissions are:

d---r--r--

Chmod 045

The chmod 045 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: read, execute (5)

When the chmod 045 command is applied to a file the resulting filesystem permissions are:

----r--r-x

When the chmod 045 command is applied to a directory the resulting filesystem permissions are:

d---r--r-x

Chmod 046

The chmod 046 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: read, write (6)

When the chmod 046 command is applied to a file the resulting filesystem permissions are:

----r--rw-

When the chmod 046 command is applied to a directory the resulting filesystem permissions are:

d---r--rw-

Chmod 047

The chmod 047 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read (4)
  • Others: read, write, execute (7)

When the chmod 047 command is applied to a file the resulting filesystem permissions are:

----r--rwx

When the chmod 047 command is applied to a directory the resulting filesystem permissions are:

d---r--rwx

Chmod 050

The chmod 050 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: no access (0)

When the chmod 050 command is applied to a file the resulting filesystem permissions are:

----r-x---

When the chmod 050 command is applied to a directory the resulting filesystem permissions are:

d---r-x---

Chmod 051

The chmod 051 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: execute (1)

When the chmod 051 command is applied to a file the resulting filesystem permissions are:

----r-x--x

When the chmod 051 command is applied to a directory the resulting filesystem permissions are:

d---r-x--x

Chmod 052

The chmod 052 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: write (2)

When the chmod 052 command is applied to a file the resulting filesystem permissions are:

----r-x-w-

When the chmod 052 command is applied to a directory the resulting filesystem permissions are:

d---r-x-w-

Chmod 053

The chmod 053 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: write, execute (3)

When the chmod 053 command is applied to a file the resulting filesystem permissions are:

----r-x-wx

When the chmod 053 command is applied to a directory the resulting filesystem permissions are:

d---r-x-wx

Chmod 054

The chmod 054 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: read (4)

When the chmod 054 command is applied to a file the resulting filesystem permissions are:

----r-xr--

When the chmod 054 command is applied to a directory the resulting filesystem permissions are:

d---r-xr--

Chmod 055

The chmod 055 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: read, execute (5)

When the chmod 055 command is applied to a file the resulting filesystem permissions are:

----r-xr-x

When the chmod 055 command is applied to a directory the resulting filesystem permissions are:

d---r-xr-x

Chmod 056

The chmod 056 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: read, write (6)

When the chmod 056 command is applied to a file the resulting filesystem permissions are:

----r-xrw-

When the chmod 056 command is applied to a directory the resulting filesystem permissions are:

d---r-xrw-

Chmod 057

The chmod 057 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, execute (5)
  • Others: read, write, execute (7)

When the chmod 057 command is applied to a file the resulting filesystem permissions are:

----r-xrwx

When the chmod 057 command is applied to a directory the resulting filesystem permissions are:

d---r-xrwx

Chmod 060

The chmod 060 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: no access (0)

When the chmod 060 command is applied to a file the resulting filesystem permissions are:

----rw----

When the chmod 060 command is applied to a directory the resulting filesystem permissions are:

d---rw----

Chmod 061

The chmod 061 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: execute (1)

When the chmod 061 command is applied to a file the resulting filesystem permissions are:

----rw---x

When the chmod 061 command is applied to a directory the resulting filesystem permissions are:

d---rw---x

Chmod 062

The chmod 062 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: write (2)

When the chmod 062 command is applied to a file the resulting filesystem permissions are:

----rw--w-

When the chmod 062 command is applied to a directory the resulting filesystem permissions are:

d---rw--w-

Chmod 063

The chmod 063 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: write, execute (3)

When the chmod 063 command is applied to a file the resulting filesystem permissions are:

----rw--wx

When the chmod 063 command is applied to a directory the resulting filesystem permissions are:

d---rw--wx

Chmod 064

The chmod 064 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: read (4)

When the chmod 064 command is applied to a file the resulting filesystem permissions are:

----rw-r--

When the chmod 064 command is applied to a directory the resulting filesystem permissions are:

d---rw-r--

Chmod 065

The chmod 065 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: read, execute (5)

When the chmod 065 command is applied to a file the resulting filesystem permissions are:

----rw-r-x

When the chmod 065 command is applied to a directory the resulting filesystem permissions are:

d---rw-r-x

Chmod 066

The chmod 066 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: read, write (6)

When the chmod 066 command is applied to a file the resulting filesystem permissions are:

----rw-rw-

When the chmod 066 command is applied to a directory the resulting filesystem permissions are:

d---rw-rw-

Chmod 067

The chmod 067 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write (6)
  • Others: read, write, execute (7)

When the chmod 067 command is applied to a file the resulting filesystem permissions are:

----rw-rwx

When the chmod 067 command is applied to a directory the resulting filesystem permissions are:

d---rw-rwx

Chmod 070

The chmod 070 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: no access (0)

When the chmod 070 command is applied to a file the resulting filesystem permissions are:

----rwx---

When the chmod 070 command is applied to a directory the resulting filesystem permissions are:

d---rwx---

Chmod 071

The chmod 071 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: execute (1)

When the chmod 071 command is applied to a file the resulting filesystem permissions are:

----rwx--x

When the chmod 071 command is applied to a directory the resulting filesystem permissions are:

d---rwx--x

Chmod 072

The chmod 072 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: write (2)

When the chmod 072 command is applied to a file the resulting filesystem permissions are:

----rwx-w-

When the chmod 072 command is applied to a directory the resulting filesystem permissions are:

d---rwx-w-

Chmod 073

The chmod 073 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: write, execute (3)

When the chmod 073 command is applied to a file the resulting filesystem permissions are:

----rwx-wx

When the chmod 073 command is applied to a directory the resulting filesystem permissions are:

d---rwx-wx

Chmod 074

The chmod 074 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: read (4)

When the chmod 074 command is applied to a file the resulting filesystem permissions are:

----rwxr--

When the chmod 074 command is applied to a directory the resulting filesystem permissions are:

d---rwxr--

Chmod 075

The chmod 075 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: read, execute (5)

When the chmod 075 command is applied to a file the resulting filesystem permissions are:

----rwxr-x

When the chmod 075 command is applied to a directory the resulting filesystem permissions are:

d---rwxr-x

Chmod 076

The chmod 076 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: read, write (6)

When the chmod 076 command is applied to a file the resulting filesystem permissions are:

----rwxrw-

When the chmod 076 command is applied to a directory the resulting filesystem permissions are:

d---rwxrw-

Chmod 077

The chmod 077 command sets the following permissions:

  • User owner: no access (0)
  • Group owner: read, write, execute (7)
  • Others: read, write, execute (7)

When the chmod 077 command is applied to a file the resulting filesystem permissions are:

----rwxrwx

When the chmod 077 command is applied to a directory the resulting filesystem permissions are:

d---rwxrwx

Leave a Comment