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.
This commit is contained in:
Jean-Pierre André 2011-09-12 18:41:25 +02:00
parent b8103bbcfe
commit 4dd63e0fd1

View File

@ -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;