[PATCH 0/2] fs/ntfs3: fixes for directory permission and symlink consistency
From: Zhenyan Wang
Date: Sun Sep 27 2026 - 14:06:54 EST
This patch series fixes two instances of non-compliance with POSIX
specifications.
Patch 1 clears FILE_ATTRIBUTE_READONLY when the argument 'mode' of mkdir
contains write permission.
Patch 2 leaves the symlink target unchanged in PrintName, avoiding
conversion from '\' to '/' in readlink.
The patched code is compiled and tested in qemu. Everything works well.
Zhenyan Wang (2):
fs/ntfs3: clear FILE_ATTRIBUTE_READONLY bit when argument 'mode'
contains write permission
fs/ntfs3: keep PrintName not changed when creating symlink
fs/ntfs3/inode.c | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
--
2.53.0