Minshall-French symlinks are identified by "find" as files rather than symbolic links: ------------------------------ mcrs3:/TCS # grep "TCS " /etc/fstab //mcrs3/TCS /TCS cifs user=cifsuser,multiuser,domain=VPTC3,sec=krb5,mfsymlinks,vers=3.0 0 0 mcrs3:/TCS # mcrs3:/TCS # touch testfile mcrs3:/TCS # ln -s testfile testlink mcrs3:/TCS # mcrs3:/TCS # find . -type l mcrs3:/TCS # find . -type f | grep test ./testlink ./testfile mcrs3:/TCS # mcrs3:/TCS # stat testlink File: testlink -> testfile Size: 8 Blocks: 16 IO Block: 16384 symbolic link Device: 2ch/44d Inode: 10941196461752524492 Links: 1 Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2020-09-11 20:24:54.163302900 +0200 Modify: 2020-09-11 20:24:26.146021300 +0200 Change: 2020-09-11 20:24:26.146021300 +0200 Birth: - mcrs3:/TCS # ------------------------------ Version of sernet-samba is: 99:4.12.2-11.suse150 The underlying issue could be the same as for bug 14476.
I can reproduce this to Samba as well. Investigating
Presumably have to flag files which are 1067 bytes with an additional check before returning their file type in readdir
Any update on this? Bumped into this again, I thought this would have been fixed since long.
good catch - this one may have slipped through (we also ought to add a small xfstest or equivalent for this so it doesn't cause problems in the future or show up with Samba reparse points in the future etc.). Will take a look