title: Writing to a file in unix not working; in windows it works
body: <p>Given:</p>
  
  <pre><code>try{
  FileWriter fw = new FileWriter(someFileName);
  BufferedWriter bw = new BufferedWriter(fw);
  bw.write("Hello Java");
  }catch...
  }finally{
  bw.close();
  }
  </code></pre>
  
  <p>It works perfectly in windows, but not in Unix.
  Remark: the created file in unix has the complete 777 rights!</p>
  
  <p>What should I do to get it working in unix?</p>
  
  <p>Thanks,
  Roxana</p>