Skip to content

Instantly share code, notes, and snippets.

@thuandt
Created May 1, 2013 06:37
Show Gist options
  • Save thuandt/5494034 to your computer and use it in GitHub Desktop.
Save thuandt/5494034 to your computer and use it in GitHub Desktop.
UNIX/Linux umask
Umask Created Files Created Directories
-------------------------------------------------------------
000 666 (rw-rw-rw-) 777 (rwxrwxrwx)
002 664 (rw-rw-r--) 775 (rwxrwxr-x)
022 644 (rw-r--r--) 755 (rwxr-xr-x)
027 640 (rw-r-----) 750 (rwxr-x---)
077 600 (rw-------) 700 (rwx------)
277 400 (r--------) 500 (r-x------)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment