-
Notifications
You must be signed in to change notification settings - Fork 39
Windows permissions incorrect after clean clone of repository #23
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
Comments
It never occured to me to want to install the PHP SDK binary tools in a users home directory, but yeah, why not. I wonder whether this permission issue would already happen on Windows 10 (or even older systems), or whether this is a Windows 11 only thing. Is it even a default setting? Anyway, the only thing we could do is to mark relevant files as executable in the repo. Would that solve the issue for you? Other than that, we could only document that this may need to be done (or maybe add a respective script which changes the execution permissions, but then again, that script would need to have appropriate permissions in the first place). |
This is just an annoyance really, raised in haste. If i clone the repo i get permissions errors, but if I download the zip and extract it, everything is fine. I'm gonna close this as its so easy to get around, but maybe having the executable bits set on the batch files may not hurt????? |
We set executable permissions for all starter files.
No, of course not. Can you please try #24 (that may not be sufficent, but at least a start)? |
Your branch helps, I can now run the batch file after a clean clone, but the batch file still errors due to also needing chmod 755 bin/.exe Maybe also the msys2 stuff, but I have cygwin installed, so maybe those aren't used on my setup. If I make all the above changes, the SDK initialises with a single click from explorer on the relevant starter batch file no problems. If you update your branch, I'll test again if you like. |
Thank you for checking. I've updated the PR now (and included the msys2/usr/bin/*exe files right away). |
Ah, that could be the reason for the behavior. :) Anyway, if you have time, please test again. |
Yep, your latest commit to cmb/perms branch fixes everything for me. |
Thank you! I have just merged that PR. |
Clone repository
Try to launch phpsdk-vs17-x64.bat (or any batch file)
I can now use the SDK after resetting permissions.
The text was updated successfully, but these errors were encountered: