From bc300c7a300bafe4dc417d074f56ffd2547dd2f9 Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Mon, 26 May 2025 10:37:18 +0200 Subject: [PATCH] libsmb: set finfo->flags.posix in parse_finfo_posix_info() BUG: https://bugzilla.samba.org/show_bug.cgi?id=15862 Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- source3/libsmb/cli_smb2_fnum.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/libsmb/cli_smb2_fnum.c b/source3/libsmb/cli_smb2_fnum.c index dcd6aa50c58..cbbd1208e04 100644 --- a/source3/libsmb/cli_smb2_fnum.c +++ b/source3/libsmb/cli_smb2_fnum.c @@ -1334,6 +1334,7 @@ static NTSTATUS parse_finfo_posix_info(const uint8_t *dir_data, finfo->st_ex_mode = wire_mode_to_unix(info.cc.posix_mode); sid_copy(&finfo->owner_sid, &info.cc.owner); sid_copy(&finfo->group_sid, &info.cc.group); + finfo->flags.posix = true; if (dir_data_length < 4) { return NT_STATUS_INFO_LENGTH_MISMATCH; -- 2.47.2