Skip to contentSkip to conversation

New: Minshall-French symlinks cannot be searched for with "find . -type l"

Bug 14492 [email protected] 1 participant 6 messages Sep 15, 2020 – Oct 13, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

https://bugzilla.samba.org/show_bug.cgi?id=14492

Bug ID: 14492
Summary: Minshall-French symlinks cannot be searched for with
"find . -type l"
Product: CifsVFS
Version: 3.x
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: kernel fs
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---

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.

Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.
#1 lore raw

[Bug 14492] Minshall-French symlinks cannot be searched for with "find . -type l"

https://bugzilla.samba.org/show_bug.cgi?id=14492

Steve French <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Steve French <[email protected]> --- I can reproduce this to Samba as well. Investigating

Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.
#4 lore raw

[Bug 14492] Minshall-French symlinks cannot be searched for with "find . -type l"

In reply to [email protected]

https://bugzilla.samba.org/show_bug.cgi?id=14492

--- Comment #4 from Steve French <[email protected]> ---
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

Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.
#5 lore raw

[Bug 14492] Minshall-French symlinks cannot be searched for with "find . -type l"

In reply to [email protected]

https://bugzilla.samba.org/show_bug.cgi?id=14492

--- Comment #5 from Steve French <[email protected]> ---
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

Signature · 2 lines
You are receiving this mail because:
You are the QA Contact for the bug.