Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is "umask"?

Answer Posted / rakesh arora

umask is to set the default directory and file access
restriction set during it creation.

For Example if Umask is 033( means 000011011 ) then
directory permission will be its complement

so default dir permission is 111100100 ( means 744)

now,AND dir permission with 110110110 (666) so it comes to
and file permission is 110100100 (644)

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is path variable bash?

1028


How to check if a directory exists?

1172


What is echo in shell?

1091


What is the first line in every perl script called?

1025


Explain about "s" permission bit in a file?

1046


Explain about non-login shell files?

1194


How to find duplicate record in file using shell script?

1379


What is eval in shell script?

1231


What does $@ mean in shell?

1018


How do scripts work?

1030


write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

4115


What is inside a seashell?

1127


how will you find the total disk space used by a specific user?

1039


How to print the first array element?

1022


Can you write a script to portray how set –x works?

988