Bug #78220 [Csd]: Can't access OneDrive folder
| From: | cmb@php.net | Date: | Tue, 10 Sep 2019 21:30:09 +0000 |
| Subject: | Bug #78220 [Csd]: Can't access OneDrive folder | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-222686@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78220&edit=1
ID: 78220
Updated by: cmb@php.net
Reported by: simon dot aberle at mm-bit dot de
Summary: Can't access OneDrive folder
Status: Closed
Type: Bug
Package: *Directory/Filesystem functions
Operating System: Windows 10 Pro Version 1903
PHP Version: 7.3.6
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This issue will be fixed in PHP 7.2.23 and 7.3.10, which will both be released in roughly two weeks.
Previous Comments:
------------------------------------------------------------------------
[2019-09-10 21:08:47] tbyte at outlook dot com
Hi.
Maybe I miss something, but it's not clear if this problem is fixed.
Please let me know.
Thanks for your help!
------------------------------------------------------------------------
[2019-08-19 18:00:03] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=81f52158b42318f17f67468cccc4a8dc03bba942
Log: Fix #78220: Can't access OneDrive folder
------------------------------------------------------------------------
[2019-08-19 12:52:27] cmb@php.net
I have now compared the behavior of Windows 10 1809, and while the
OneDrive folder (on-demand enabled) is reported as reparse point
by
fsutil and dir /al, FindFirstFile() doesn't report it as
reparse point, so there are no issues accessing the folder.
------------------------------------------------------------------------
[2019-08-13 16:27:42] cmb@php.net
Related To: Bug #75384
------------------------------------------------------------------------
[2019-08-09 18:15:35] cmb@php.net
When PHP gets information about the OneDrive folder[1],
dataw.dwFileAttributes is 0x431, which indicates a reparse point.
The folder is then opened[2] to get information about the
reparse point[3]. However, that operation fails with the error
ERROR_NOT_A_REPARSE_POINT.
This happens only when On-Demand is enabled; if it is disabled,
the folder is not reported as a reparse point in the first place.
[1] <https://github.com/php/php-src/blob/php-7.3.8/Zend/zend_virtual_cwd.c#L843>
[2] <https://github.com/php/php-src/blob/php-7.3.8/Zend/zend_virtual_cwd.c#L886>
[3] <https://github.com/php/php-src/blob/php-7.3.8/Zend/zend_virtual_cwd.c#L906>
------------------------------------------------------------------------
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=78220
--
Edit this bug report at https://bugs.php.net/bug.php?id=78220&edit=1