Skip to content

fs/ntfs3: fixes for directory permission and symlink consistency

Zhenyan Wang linux-fsdevel lkml ntfs3 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fs/ntfs3: clear FILE_ATTRIBUTE_READONLY bit when argument 'mode' contains write permissionfs/ntfs3/inode.c+2 -00 replies
2/2fs/ntfs3: keep PrintName not changed when creating symlinkfs/ntfs3/inode.c+9 -132 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] fs/ntfs3: fixes for directory permission and symlink consistency

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(-)
Signature · 1 line
2.53.0