umask calculator

Calculate the default Linux permissions for new files and directories from a umask value such as 022 or 077.

Runs in your browser ยท nothing is sentPermissions

New files644 (rw-r--r--)
New directories755 (rwxr-xr-x)

About this tool

Enter a umask and see the resulting permissions for new files (base 666) and directories (base 777).

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

What does umask 022 give?

New files get 644 (rw-r--r--) and new directories get 755 (rwxr-xr-x).

What to do next

Also useful

Found a problem or have a suggestion? Tell us