title: Using nodejs chmod 777 and 0777
body: <p>Using <code>fs.chmod(path, mode, callback)</code> I set the mode  to <code>777</code>.  It didn't work properly. But when I set it to <code>0777</code>, it worked.</p>
  
  <p>So I want to know what the difference is between <code>chmod 777</code> and <code>chmod 0777</code>?</p>