mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-12-03 23:13:39 +08:00
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:
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
Block a user