title: How to change the file ACL in windows, if I only know the SID?
body: <p>I want to change the ACL of a file and set "full permissions" to a special user.</p>
  
  <p>I know the cacls-command <code>cacls . /e /t /p Everyone:f</code></p>
  
  <p><strong>But</strong> this only works if the OS is english. For german systems, it must be
  <code>cacls . /e /t /p Jeder:f</code>.</p>
  
  <p>I know the <a href="http://support.microsoft.com/kb/243330" rel="nofollow">well-known SIDs</a> of the user "everyone" (S-1-1-0), but it seems as if I can't use them with cacls.</p>
  
  <p>I tried <code>cacls . /e /t /p S-1-1-0:f</code>.</p>
  
  <p>Is there a way to use windows command line tools for this jobs? I'm not allowed to bundle software or other commandline tools for this job with my software.</p>
  
  <p>The solution has to be called from a Java-Process, but that should not be a problem.</p>