Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use the extension with WSL2 (Windows Subsystem for Linux 2) #96

Open
ghost opened this issue Apr 26, 2021 · 1 comment
Open

Comments

@ghost
Copy link

ghost commented Apr 26, 2021

Current Behavior

  1. Unable to install the extension in a WSL2 ubuntu environment (there is no "install on remote" button, settings get ignored when connected to WSL2).
  2. When trying to use the extension in local using the wsl$ share the following error pops up:
ERROR: Unable to read file \\WSL$\UBUNTU-20.04\home\user\dev\SGN\app\Providers\EventServiceProvider.php: SplFileInfo->isReadable() is false, getPerms()=100666(octal)

Steps to Reproduce the Problem

  1. Try to use the extension while connected to a remote (WSL2) folder.

Specifications

  • Extension Version: 1.4.4
  • PHP Version: 8.0
  • Platform: Windows 10
  • Subsystem: Ubuntu 20.04
@TysonAndre
Copy link
Owner

There seem to have been similar issues with WSL in other applications. microsoft/WSL#4260

If there's a place it could be fixed, it'd be php-src (tsrm_win32_access handling for R_OK in php-src/TSRM/tsrm_win32.c) or WSL itself, probably WSL. I'm not familiar enough with windows programming to know and don't have windows 10 installed.

@TysonAndre TysonAndre changed the title Unable to use the extension with WSL2 Unable to use the extension with WSL2 (Windows Subsystem for Linux 2) Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant