title: Are dirs in C:\Users\Public\Documents writable to everyone by default?
body: <p>I want my installer to create a folder in <code>C:\Users\Public\Documents</code> that will be readable and writable to all local users. This includes the right to create files/dirs there, and to modify and delete all existing ones. The installer is being ran as Administrator.</p>
  
  <p>I don't have to programatically set the permissions for my dir, right? Just by creating the dir, it will have the correct permissions I think.</p>
  
  <p>I'm interested in the behavior under XP, Vista and 7.</p>
  
  <p>Note: I'm not hardcoding the path <code>C:\Users\Public\Documents</code>, I'm querying <code>CSIDL_COMMON_DOCUMENTS</code> from the Win API, which can return different values depending on machine and OS. For example on XP it returns a different path.</p>
  
  <p><strong>Edit:</strong> <a href="http://www.vbmonster.com/Uwe/Forum.aspx/vb/35159/Folder-Permissions" rel="nofollow">here's</a> a relevant discussion. It points to MS docs about the question, but it also looks like those docs may be wrong.</p>