The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM



Thread: help on umask
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 04-10-2008
suvendu4urs suvendu4urs is offline
Registered User
 

Join Date: Apr 2008
Location: bangalore
Posts: 15
Quote:
Originally Posted by era View Post
Did you try to, like, look for documentation?

umask - Wikipedia, the free encyclopedia

When a file is created, the program which creates it requests a permission mask. This mask gets ANDed with the compliment of the umask, and the file is created with the resulting permissions.
ya i have gone through that one.
but the main thing is is there any specification is that we have to keep the umask value as 022 or anything else.
so here by changing the value of umask we can chnage the file permisiion also.so no need to use chmod command.if we will get the shortcut solution about the calculation of umask we can come to know how is it really possible.
so just help me out to know better details regartding this umask.
and if we want to change the permisiion of all the files we can do it by using one command of umask or not.
so plz help me out quickly
Reply With Quote