-
Notifications
You must be signed in to change notification settings - Fork 3k
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
"cd" option fails in OpenVPN version 2.6.7 #448
Comments
Thanks for the report. From 2.6.6 to 2.6.7, windows building was changed from "MSVC with MSVC build files" to "CMake" (as we do in master since quite a while). The CMakefile had an omission regarding chdir() on windows, so the compile resulted in "there is no chdir() function on Windows" and thus all A new windows installer will be released "really soon". A build system patch is already in review. |
Many thanks for the extremely fast response and fix! |
This broke in the CMake build since previously we just always set HAVE_CHDIR to 1 in the MSVC build. But actually the code should just not check HAVE_CHDIR on Windows. Github: fixes OpenVPN/openvpn#448 Change-Id: I0c78ce452135fe2c80275da449215ba926471018 Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> Acked-by: Lev Stipakov <lstipakov@gmail.com> Message-Id: <20231111081808.30967-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27362.html Signed-off-by: Gert Doering <gert@greenie.muc.de> (cherry picked from commit 012ea92)
This is to make sure we won't get regressions like OpenVPN/openvpn#448 OpenVPN/openvpn#454 Signed-off-by: Lev Stipakov <lev@openvpn.net>
This is to make sure we won't get regressions like OpenVPN/openvpn#448 OpenVPN/openvpn#454 Signed-off-by: Lev Stipakov <lev@openvpn.net>
Describe the bug
After updating to OpenVPN 2.6.7 [git:v2.6.7/53c9033317b3b8fd] from OpenVPN 2.6.6 the "cd" option in the configuration file prevents OpenVPN from connecting due to the following error:
in the configuration file "cd" was used like this:
the mentioned directory exists and also the ACEs were not changed
A trace of the I/O operations of the openvpn.exe process shows that the configuration file is opened and read, but no access to the "test" directory or attempt to read files from it are visible in the trace.
Also replacing the "\" with "//" does not resolve the issue.
To Reproduce
Create a OpenVPN configuration file with the "cd" option and try to connect.
Expected behavior
OpenVPN connects as it did in previous version 2.6.6
Version information (please complete the following information):
The text was updated successfully, but these errors were encountered: