]> granicus.if.org Git - php/commit
Fix #80258: Windows Deduplication Enabled, randon permission errors
authorChristoph M. Becker <cmbecker69@gmx.de>
Mon, 19 Oct 2020 15:41:58 +0000 (17:41 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Mon, 26 Oct 2020 10:21:14 +0000 (11:21 +0100)
commit848e24f24d7c05db04fe1ba87e6566a5c30323fd
tree80961f0f3bef0e88bfbd630f1b02f4fd3468eadd
parent2be27074b6e165d8d3e282150d02aa8abfcfec5e
Fix #80258: Windows Deduplication Enabled, randon permission errors

A recent bug fix regarding symlinks claimed:

> After resolving reparse points, the path still may be a reparse
> point; in that case we have to resolve that reparse point as well.

While that is basically correct, some reparse points may point to
inaccessible system folders (e.g. `IO_REPARSE_TAG_DEDUP` points to
"\System Volume Information").  Since we don't know details about
arbitrary reparse points, and are mainly interested in nested symlinks,
we take a step back, and only resolve `IO_REPARSE_TAG_SYMLINK` for now.

Close GH-6354.
NEWS
Zend/zend_virtual_cwd.c