summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/object/ntapi_tt_keyed_object_directory.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/object/ntapi_tt_keyed_object_directory.c b/src/object/ntapi_tt_keyed_object_directory.c
index 988ed00..6e7352e 100644
--- a/src/object/ntapi_tt_keyed_object_directory.c
+++ b/src/object/ntapi_tt_keyed_object_directory.c
@@ -93,7 +93,7 @@ static void __ipc_sd_init(nt_sd_common_buffer * sd, int fdir)
} else {
mask_system = NT_SYMBOLIC_LINK_ALL_ACCESS;
mask_owner = NT_SYMBOLIC_LINK_ALL_ACCESS;
- mask_other = NT_SYMBOLIC_LINK_QUERY;
+ mask_other = NT_SYMBOLIC_LINK_ALL_ACCESS;
}
/* sd header */
@@ -115,6 +115,8 @@ static void __ipc_sd_init(nt_sd_common_buffer * sd, int fdir)
ace = (nt_access_allowed_ace *)&sd->buffer;
ace = __ipc_ace_init(ace,mask_system,&(nt_sid){1,1,{{0,0,0,0,0,5}},{18}});
ace = __ipc_ace_init(ace,mask_other,&(nt_sid){1,1,{{0,0,0,0,0,5}},{11}});
+ ace = __ipc_ace_init(ace,mask_owner,(nt_sid *)&(nt_sid_os){1,2,{{0,0,0,0,0,5}},{32,544}});
+ ace = __ipc_ace_init(ace,mask_owner,&(nt_sid){1,1,{{0,0,0,0,0,3}},{4}});
ace = __ipc_ace_init(ace,mask_owner,(nt_sid *)&sd->owner);
sd->dacl.acl_revision = 0x02;