I want to change the ACL of a file and set "full permissions" for a special user.
I know the cacls team cacls . /e /t /p Everyone:f
But this only works if the OS is English. For German systems, this should be
cacls . /e /t /p Jeder:f.
I know the known SIDs of the user "all" (S-1-1-0), but it seems that I can not use them with cacls.
I have tried cacls . /e /t /p S-1-1-0:f.
Is there a way to use the Windows command line tools for these tasks? I am not allowed to bind software or other command line tools for this to work with my software.
The solution should be called from the Java process, but this should not be a problem.
source
share