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.edge.strict_endians
parent
b8103bbcfe
commit
4dd63e0fd1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue