Skip to content

Commit 58ad8c8

Browse files
committed
doc: Add comment explaining WorldSid usage in build_data_writer.ps1
We use WorldSid because the 'Everyone' name is locale-dependent.
1 parent 58a4b91 commit 58ad8c8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/private/build_data_writer.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $Utf8NoBom = New-Object System.Text.UTF8Encoding $False
2121
[System.IO.File]::WriteAllLines($OutputPath, $Lines, $Utf8NoBom)
2222

2323
$Acl = Get-Acl $OutputPath
24+
# We use WorldSid because the "Everyone" name is locale-dependent.
2425
$EveryoneSid = New-Object System.Security.Principal.SecurityIdentifier(
2526
[System.Security.Principal.WellKnownSidType]::WorldSid,
2627
$null

0 commit comments

Comments
 (0)