Working with Linux Default File and directory Permissions with UMASK command -
or Changing Umask Values-
1. Temporary
2. Permanent
How Numeric umask value is calculated ---Default Permission = 0777 - umask , let umask = 022
Default Permission = 0777 - 0022
Default Permission = 0755
Default Permission Applied on File and directory will be 755,It means rwx for Owner User,r_x for group member users,r_x for others users
1. Temporary- for current login session only - By using umask command.
2. Permanent-
a. Global- For all users /etc/bashrc --- update with source command
b. For Any specific user only /home/user/.bashrc --- update with source so