umask Calculator
NewConvert a umask to default file and directory permissions (and back), with symbolic notation and common presets like 022, 027 and 077.
umask calculatorumask 022linux default permissionsumask to chmod
Read the guideShortcuts:⌘ KSearch?HelpD MDark modeG TAll tools
Continue with:
Frequently Asked Questions
What does umask 022 mean?
New files get 644 and new directories 755.
Why do files never get execute by default?
Files start from 666, not 777, so execute must be added with chmod.
How do I set a umask?
Run umask 027 in a shell, or set it in profile files, systemd units or Docker entrypoints.
Can I go from permissions to umask?
Yes, use the reverse field for the directory mode you want.