mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] fs/ntfs3: fixes for directory permission and symlink consistency
@ 2026-09-27 18:03 Zhenyan Wang
  2026-09-27 18:03 ` [PATCH 1/2] fs/ntfs3: clear FILE_ATTRIBUTE_READONLY bit when argument 'mode' contains write permission Zhenyan Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Zhenyan Wang @ 2026-09-27 18:03 UTC (permalink / raw)
  To: Konstantin Komarov
  Cc: Christian Brauner, ntfs3, linux-fsdevel, linux-kernel, Zhenyan Wang

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-28  8:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-27 18:03 [PATCH 0/2] fs/ntfs3: fixes for directory permission and symlink consistency Zhenyan Wang
2026-09-27 18:03 ` [PATCH 1/2] fs/ntfs3: clear FILE_ATTRIBUTE_READONLY bit when argument 'mode' contains write permission Zhenyan Wang
2026-09-27 18:03 ` [PATCH 2/2] fs/ntfs3: keep PrintName not changed when creating symlink Zhenyan Wang
2026-09-28  7:28   ` Zhan Xusheng
2026-09-28  8:03     ` Zhenyan Wang
2026-09-27 20:30 ` [PATCH 0/2] fs/ntfs3: fixes for directory permission and symlink consistency Zhenyan Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®