Comments (2)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 avinashkawale1 commented Permalink

hi , <br /> I was under the impression that umask setting work as below - <br /> if umask is 003 then file permissions will be 666 - 003 = 663. <br /> But as per your blog i am seeing 664 (rw-rw-r--). <br /> Can you explain a bit more if the substraction logic i mentioned above is not correct ? <div>&nbsp;</div> Thanks, <br /> Avinash.

2 brian_s commented Permalink

Check out the wikipedia page on umask that has a good explanation of how the umask is calculated: