We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Users
1 parent 2abc59a commit 5ebe448Copy full SHA for 5ebe448
oschmod/__init__.py
@@ -310,7 +310,7 @@ def win_get_other_sid():
310
For now this is the Users builtin account. In the future, probably should
311
allow account to be passed in and find any non-owner, non-group account
312
currently associated with the file. As a default, it could use Users."""
313
- return win32security.LookupAccountName(None, 'Users')[0]
+ return win32security.ConvertStringSidToSid("S-1-5-32-545")
314
315
316
def convert_win_to_stat(win_perm, user_type, object_type):
0 commit comments