Edit report at https://bugs.php.net/bug.php?id=75384&edit=1
ID: 75384
User updated by: phpbugs at dougweb dot org
Reported by: phpbugs at dougweb dot org
Summary: PHP seems incompatible with OneDrive files on demand
Status: Assigned
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows 10
PHP Version: 7.1.10
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Although trying with a couple of folders within OneDrive, I have had a few different results come up
too
GetFileInformationByHandleEx: IO_REPARSE_TAG_CLOUD_E(9000e01a)
FindFirstFileEx: IO_REPARSE_TAG_CLOUD_E(9000e01a)
GetFileInformationByHandleEx: IO_REPARSE_TAG_CLOUD_6(9000601a)
FindFirstFileEx: IO_REPARSE_TAG_CLOUD_6(9000601a)
Previous Comments:
------------------------------------------------------------------------
[2017-11-07 21:40:17] phpbugs at dougweb dot org
I got
GetFileInformationByHandleEx: IO_REPARSE_TAG_CLOUD_7(9000701a)
FindFirstFileEx: IO_REPARSE_TAG_CLOUD_7(9000701a)
Hope that helps?
------------------------------------------------------------------------
[2017-11-07 21:14:41] valentino dot delapa at tiscali dot it
On my computer the command execution result is this:
GetFileInformationByHandleEx: CreateFile failed
FindFirstFileEx: IO_REPARSE_TAG_CLOUD_3(9000301a)
------------------------------------------------------------------------
[2017-11-07 18:36:38] ab@php.net
I've uploaded a test program here http://windows.php.net/downloads/snaps/ostc/75384/
Please download it and invoke on console like this
read_reparse_tag C:\Users\<my user>\OneDrive\
Then post the output.
Thanks.
------------------------------------------------------------------------
[2017-11-02 17:41:44] simbiat at bk dot ru
BTW, the same thing affects MySQL: Fatal error: Can't open and lock privilege tables: Table
storage engine for 'user' doesn't have this optionFor more information, see Help and
Support Center at http://www.mysql.com.
------------------------------------------------------------------------
[2017-11-02 17:35:10] simbiat at bk dot ru
I figured out why it was not working for me when I moved htdocs. It was moved by Windows in a way,
that Windows treated it as it was still in OneDrive. I ran
dir /AL c:\Users\username\
which is expected to show all "links" and it listed htdocs as "DIR". I moved it
away, created a directory manually and reran the command: htdocs was not there. In both cases
OneDrive was there as "DIR".
Note that /AL flag should NOT list "DIR". Meaning, that there is something different with
those OneDrive directories (obviously). I dunno how to see what exactly.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=75384
--
Edit this bug report at https://bugs.php.net/bug.php?id=75384&edit=1