29 Apr
2005
29 Apr
'05
17:15
On Friday 29 April 2005 01:51, Greg Wallace wrote:
Of course you're right. I saw that ~ sign when I read it, but I was thinking 066 & 022 would be 644. I just did it on a piece of paper and, just as you say, it's 066 & ~022 = 066 & 055 = 644. I knew that was the default for new files, but I didn't realize it was implemented via umask that way.
Greg Wallace
~022=~(000 010 010) =000 101 101=055 066&055=(000 110 110)&(000 101 101)=044 ------------------------------- other way: 000 110 110 000 101 101 ------------------ 000 100 10 Cheers Jul.