title: Creating XML file with write access given to all the windows account users
body: <p>I am creating an XML file in the common application folder using C#:</p>
  
  <pre><code>%ALLUSERSPROFILE%\Application Data\
  </code></pre>
  
  <p>File will be created when application is installed. This file is something that is common to all the users of the local machine.(i.e it contains some setting information)</p>
  
  <p>But my problem is when the file is created by an admin user(i.e application is installed by an admin user) the other users don't have write access to the file. When I checked the attributes of the file, it has given only 'read and execute' is given to other users.</p>
  
  <p>I am using below code to save the file</p>
  
  <pre><code>XDocument.Save(filePath);
  </code></pre>
  
  <p>Is it possible to create file with write access given to all users? Any help much appreciated!</p>