in reply to Grant full access to "Everyone" on Win32 (regardless to its translations)

You need to use the well-known SID for Everyone: S-1-1-0. See the knowledge base for more.

Whether Win32::Perms accepts SIDs, and if so in what form, I cannot say, as it doesn't appear to be on CPAN.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Grant full access to "Everyone" on Win32 (regardless to its translations)
  • Download Code

Replies are listed 'Best First'.
Re^2: Grant full access to "Everyone" on Win32 (regardless to its translations)
by stringZ (Acolyte) on Oct 22, 2011 at 00:09 UTC
    Yeah, I would like to use the SID, but I can't do it with Win32::Perms, nor with Win32::FileSecurity. It seems both supports only names.

      All in all, it would probably be easier to use icacls.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.