diff options
Diffstat (limited to 'src/cmds')
-rw-r--r-- | src/cmds/ntux_cmd_chmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds/ntux_cmd_chmod.c b/src/cmds/ntux_cmd_chmod.c index 773c8ea..a0fec1d 100644 --- a/src/cmds/ntux_cmd_chmod.c +++ b/src/cmds/ntux_cmd_chmod.c @@ -495,7 +495,7 @@ int ntux_cmd_chmod(const struct ntux_driver_ctx * dctx, const char * dunit) if (srcace->header.ace_flags & exacefilter) { ntux_memcpy(dstace,srcace,srcace->header.ace_size); - dstace->header.ace_flags = NT_ACE_INHERITED; + dstace->header.ace_flags = NT_ACE_INHERITED | ace_flags; aceaddr += srcace->header.ace_size; dstace = (struct ntux_ace_any *)aceaddr; |