[cifs-protocol] SET_REPARSE_POINT vs QUERY_DIRECTORY? - TrackingID#2301020040002842

Jeff McCashland (He/him) jeffm at microsoft.com
Tue Jan 3 17:04:16 UTC 2023

[Hung-Chun to BCC]

Hi Volker,

I will investigate your question and let you know what I find. 

Best regards,
Jeff McCashland (He/him) | Senior Escalation Engineer | Microsoft Protocol Open Specifications Team 
Phone: +1 (425) 703-8300 x38300 | Hours: 9am-5pm | Time zone: (UTC-08:00) Pacific Time (US and Canada)
Local country phone number found here: http://support.microsoft.com/globalenglish | Extension 1138300

-----Original Message-----
From: Hung-Chun Yu <HungChun.Yu at microsoft.com> 
Sent: Monday, January 2, 2023 10:59 AM
To: Volker Lendecke <Volker.Lendecke at sernet.de>
Cc: cifs-protocol at lists.samba.org; Hung-Chun Yu <HungChun.Yu at microsoft.com>; Microsoft Support <supportmail at microsoft.com>
Subject: SET_REPARSE_POINT vs QUERY_DIRECTORY? - TrackingID#2301020040002842

[BCC dochelp]
Hi Volker

Thank you for contacting Microsoft Open Specifications Support. We created SR case TrackingID#2301020040002842, do leave this tag in the subject line for future reference.
One of our engineers will contact you shortly.

Hung-Chun Yu
Microsoft Open Specifications Support

-----Original Message-----
From: Volker Lendecke <Volker.Lendecke at sernet.de> 
Sent: Monday, January 2, 2023 6:38 AM
To: Interoperability Documentation Help <dochelp at microsoft.com>
Cc: cifs-protocol at lists.samba.org

Hello dochelp!

Attached find a network trace against Windows 2016 server that creates a symlink and tries to query it via QUERY_DIRECTORY.

In frame 19 a symlink x->y is successfully created.

When listing the directory, frame 24 just shows FILE_ATTRIBUTE_ARCHIVE for "x". Only if "x" is closed in frame 29, the listing shows FILE_ATTRIBUTE_ARCHIVE | FILE_ATTRIBUTE_REPARSE_POINT in frame 34 as expected.

Question: Is this relevant, and where is this documented?

Thanks, Volker

More information about the cifs-protocol mailing list