The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




Thread: umask
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 02-01-2009
Nagapandi Nagapandi is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 36
umask

Hi,

Please, let me know how the umask is working? As per my understanding is aprt from subtracting from 666/777, logical gate operation is performing.

Ex: If I set uname 011, it gave the permission like 666 for file. Request you to explain which gate's operation performed.

$uname 011
$uname
0011
$vi abc
$ls -l abc
-rw-rw-rw- 1 unixguy staff 29 Jan 26 14:03 abc

Regards,
Naga