]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: set finfo->flags.posix in parse_finfo_posix_info()
authorRalph Boehme <slow@samba.org>
Mon, 26 May 2025 08:37:18 +0000 (10:37 +0200)
committerJeremy Allison <jra@samba.org>
Mon, 7 Jul 2025 16:47:35 +0000 (16:47 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15862

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/cli_smb2_fnum.c

index dcd6aa50c58ed9beca71e8e434e61df3eed7d2a2..cbbd1208e04dfc11b3151ecbf5deb9d65857b5d6 100644 (file)
@@ -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;