[cifs-protocol] SET_REPARSE_POINT vs QUERY_DIRECTORY?

Volker Lendecke Volker.Lendecke at sernet.de
Mon Jan 2 14:37:35 UTC 2023


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reparse.cap
Type: application/vnd.tcpdump.pcap
Size: 9191 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20230102/6e3a7f70/reparse.cap>


More information about the cifs-protocol mailing list