Skip to content

Instantly share code, notes, and snippets.

@AlexGalhardo
Created August 22, 2019 03:50
Show Gist options
  • Select an option

  • Save AlexGalhardo/f7782f718752bc7b43ce69cd97c3f900 to your computer and use it in GitHub Desktop.

Select an option

Save AlexGalhardo/f7782f718752bc7b43ce69cd97c3f900 to your computer and use it in GitHub Desktop.

Permissão Binário Octal --- 000 0 --x 001 1 -w- 010 2 -wx 011 3 r-- 100 4 r-x 101 5 rw- 110 6 rwx 111 7

x -> execute w -> write r -> read

owner group general unix command when to use


rwx rwx rwx 421 401 401 sudo chmod 755 -> permissions to directories in production 420 400 400 sudo chmod 644 -> permissions to files in production

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment