title: Setting Attribute of a file in network
body: <p>I want to set attribute of a file in network to ReadOnly.</p>
  
  <pre><code>File.SetAttributes(@"\\data\ntshare\tmp\Trades_LastFileUploaded.csv", FileAttributes.ReadOnly);
  </code></pre>
  
  <p>It goes fine, but after this when i check my file over network it still appears to be !readOnly.
  Also, when i try to manually (using file properties) set the ReadOnly flag. It goes fine, but when i open the properties it again becomes !readonly.</p>
  
  <p>Could it be some network permission rule?
  I am able to create and delete files from the same directory, why would it restrict me to set file properties?</p>
  
  <p>Any help?</p>