title: Access Root directory using Node
body: <p>Is there any way to access the Linux root ('/') directory through node? Right now, I have something like this:</p>
  
  <pre><code>multipart   = require('connect-multiparty')
  app.use(multipart({
     uploadDir: config.tmp
  }));
  
  ...
  
  var file = req.files.file;
  fs.renameSync(file.path, ".", function(err) {
      if(err) console.error(err.stack);
  })
  </code></pre>
  
  <p>but the problem  is that file.path is refering to a folder inside the Linux root rather than the project's root.</p>