From 225ec94d5c38e0c95e385c138307a79490f4d739 Mon Sep 17 00:00:00 2001 From: jpandre Date: Thu, 21 Aug 2008 10:58:19 +0000 Subject: [PATCH] Fixed owner of files when different from Windows owner --- libntfs-3g/acls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs-3g/acls.c b/libntfs-3g/acls.c index 14e47159..69b8648b 100644 --- a/libntfs-3g/acls.c +++ b/libntfs-3g/acls.c @@ -3080,6 +3080,7 @@ const SID *ntfs_acl_owner(const char *securattr) && (pace->type == ACCESS_ALLOWED_ACE_TYPE) && ntfs_is_user_sid(&pace->sid)) found = TRUE; + offace += le16_to_cpu(pace->size); } while (!found && (++nace < acecnt)); } if (found)