- Forums
- Linux
- Umask Calculator - Calculate A Umask Value In Linux Permissions
i need to calculate a umask value for my default linux permissions on my server. i dont want to have to be changing the permissions on each file everytime i create one [3331]
Less
Wed Apr 28, 2010
16 Comments
36318 Visits
UMASK
Umask is a command in computers which provides the settings of a mask which controls the file permission for every filed that has been created. Umask can also be a function that puts the mask or only refers to the mask of the file. There are times when you are setting permissions for files in linux and all you have is the command line or the shell. This calculator was created for the linux system administrators to assist in assigning permissions to files and folder in a Linux operating system. We have developed a permissions calculator tool which helps you. You can enter the mask value to convert into regular file permissions. Also, we created a umask calculator. its very easy to use, all you have to do is enter the umask value and it converts it into the file permissions you want. There are cases when you may need to use this calculator, for example, when you are taking a test. One example is the Linux COMPTIA Linux Exam. You will need to know about umask if you wish you become certify, this calculator will help you understand.
Umask Calculator
i need to calculate a umask value for my default linux permissions on my server. i dont want to have to be changing the permissions on each file everytime i create one. so by using the umask command will help me save alot of time and typing.
Calculator Tool
Click on each checkbox to select what permissions you want to set
Umask Numbers
Umask Created Files Created Directories - This table shows the Umask value, the Created File and the Created Directory properties. As you can see, you can convert 002 umask into 664 file permissions
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------)
Now that you know how to convert umask to file permissions, lets take a quick quiz to test your umask quiz. Don't worry, the quiz is very simple, nothing complicated. But it will demonstrate your knowledge of Linux umask. I encourage you to take it. The quiz is not long.
umask
File Permissions
Directory Permissions
Take The Umask Knowledge Quiz
Now that you have learned about how Umask permissions work in Linux, are you ready to take a fun quiz? Good Luck!