|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78784 Unable to interact with files inside a VFS for Git repository
Submitted: 2019-11-05 22:09 UTC Modified: 2020-04-27 07:34 UTC
From: colinb969 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: *Directory/Filesystem functions
PHP Version: 7.3.11 OS: Windows 10
Private report: No CVE-ID: None
 [2019-11-05 22:09 UTC] colinb969 at gmail dot com
From inside a git clone completed by VFS for Git try scanning, creating or reading any files or directories inside (and including) 'src'. Will fail with an error like below.

No such file or directory in php shell code on line 1

Curiously enough lstat still works whilst stat doesn't.


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-15 09:14 UTC]
-Assigned To: +Assigned To: cmb
 [2020-04-15 15:34 UTC]
-Status: Assigned +Status: Feedback
 [2020-04-15 15:34 UTC]
Sorry for the long delay; I almost forgot about this ticket.

Could you please check these files/directories with

    fsutil reparsePoint query <filename>

and post the "Reparse Tag Value"s (first line of output) here?

Presumably, that would be either 0x9000001C or 0xA0000022.
 [2020-04-24 15:38 UTC]
-Status: Feedback +Status: Verified
 [2020-04-24 15:38 UTC]
Okay, I have now setup VFS for Git, and can confirm this bug.
The reparse tag appears to always be 0x9000001C.
 [2020-04-24 15:39 UTC]
The following pull request has been associated:

Patch Name: Fix #79470: PHP incompatible with 3rd party file system on demand
On GitHub:
 [2020-04-27 07:34 UTC]
-Status: Verified +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 21 22:01:28 2024 UTC