summaryrefslogtreecommitdiffhomepage
path: root/src/acl
diff options
context:
space:
mode:
Diffstat (limited to 'src/acl')
-rw-r--r--src/acl/ntapi_acl_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/acl/ntapi_acl_helper.c b/src/acl/ntapi_acl_helper.c
index 72444fe..c495dc5 100644
--- a/src/acl/ntapi_acl_helper.c
+++ b/src/acl/ntapi_acl_helper.c
@@ -65,7 +65,7 @@ void __stdcall __ntapi_acl_init_common_descriptor(
sd->sd.offset_sacl = 0;
/* owner, group, other: default sid's */
- owner = owner ? owner : __ntapi_internals()->sid;
+ owner = owner ? owner : __ntapi_internals()->user;
group = group ? group : owner;
other = other ? other : &sid_auth_users;