ntfs3 icon indicating copy to clipboard operation
ntfs3 copied to clipboard

[BUG] ntfs symlink cannot be handled correctly by ntfs3

Open nilxbit opened this issue 8 months ago • 0 comments

It can be reproduced as follow:

  1. Create the ntfs symlinks in Windows 11
mkdir test\test2
echo "text" > test\test.txt
mklink /D test2 test\test2
mklink test.txt test\test.txt
dir

Image

Image

  1. Open the directory which contains the symlinks in linux (Ubuntu 24.04 or Archlinux)
$ sudo mount -t ntfs3 /dev/sdc1 /mnt
$ ls -al /mnt/
总计 8
drwxrwxrwx 1 root root 4096  5月  5 09:02  .
drwxr-xr-x 1 root root 4096  4月 25  2024  ..
drwxr-xr-x 1 root root    0  5月  5 09:02 'System Volume Information'
drwxr-xr-x 1 root root    0  5月  5 09:02  test
lrwxrwxrwx 1 root root   10  5月  5 09:02  test2 -> test/test2
lrwxrwxrwx 1 root root   13  5月  5 09:02  test.txt -> test/test.txt
$ sudo lsmod | grep ntfs
ntfs3                 348160  1
$ sudo umount /mnt
  1. Switch back to Windows 11, then you can see the difference compared to before
dir

Image

Image

nilxbit avatar May 05 '25 10:05 nilxbit