The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-16-2006
x96riley3 x96riley3 is offline
Registered User
 

Join Date: Mar 2006
Location: Nashville
Posts: 77
Files get created by Unix as 666. Then the umask get's applied. So the maximum file creation can only be -rw-rw-rw (666) minus the umask. If 000 is the umask then nothing changes. If the umask is 777, then the file becomes ----------.

It's kind of a nice feature to have files that get created as not executable. Why? Think of a virus. Think of an exe in windows. You get sent and exe in windows and it runs, period. The cool thing about unix and linux is that the virus won't be executable from the start, you have to tell it to become executable. It's really a nice security feature.

-X
Reply With Quote