From 4dd63e0fd1953bfa87215c69379ad6a0419d799f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Mon, 12 Sep 2011 18:41:25 +0200 Subject: [PATCH] Fixed the setting of attributes by secaudit The setting of attributes was done in the "standard information", it must also be propagated to the indexes in parent directories. --- libntfs-3g/security.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs-3g/security.c b/libntfs-3g/security.c index 5a72c782..5e70c214 100644 --- a/libntfs-3g/security.c +++ b/libntfs-3g/security.c @@ -4777,6 +4777,7 @@ BOOL ntfs_set_file_attributes(struct SECURITY_API *scapi, ni->flags = (ni->flags & ~settable) | (cpu_to_le32(attrib) & settable); NInoSetDirty(ni); + NInoFileNameSetDirty(ni); } if (!ntfs_inode_close(ni)) res = -1;