-
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
--status file in 2.6.7 #454
Comments
Looking into it. |
lstipakov
added a commit
to lstipakov/openvpn
that referenced
this issue
Nov 14, 2023
This is a regression from commit 0134184 ("add basic CMake based build") S_IRUSR and S_IWUSR should NOT be defined as 0 but as _S_IREAD and _S_IWRITE, as it was already fixed in commit 077445d ("Fix some more wrong defines in config-msvc.h") Those are used as permission mode when opening a file. Passing zero makes file read-only, which break for example --status-file functionality. Fixes OpenVPN#454 Change-Id: I53eaee85d7b284af6bc63da5f6d8f310ddd96c47 Signed-off-by: Lev Stipakov <lev@openvpn.net>
cron2
pushed a commit
to cron2/openvpn
that referenced
this issue
Nov 14, 2023
This is a regression from commit 0134184 ("add basic CMake based build") S_IRUSR and S_IWUSR should NOT be defined as 0 but as _S_IREAD and _S_IWRITE, as it was already fixed in commit 077445d ("Fix some more wrong defines in config-msvc.h") Those are used as permission mode when opening a file. Passing zero makes file read-only, which break for example --status-file functionality. Github: fixes OpenVPN/openvpn#454 Trac: #1430 Change-Id: I53eaee85d7b284af6bc63da5f6d8f310ddd96c47 Signed-off-by: Lev Stipakov <lev@openvpn.net> Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <20231114141653.10486-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27393.html Signed-off-by: Gert Doering <gert@greenie.muc.de> (cherry picked from commit 2fcfb77)
lstipakov
added a commit
to lstipakov/openvpn-windows-test
that referenced
this issue
Nov 16, 2023
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>
cron2
pushed a commit
to OpenVPN/openvpn-windows-test
that referenced
this issue
Nov 17, 2023
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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In version 2.6.7 the server will not connect for the second time of asking. Options error: --status fails with 'openvpn-status.log': Permission denied (errno=13)
In my config file I have: status openvpn-status.log
openvpn-status.log is created fine the first connection, but listed as read-only.
I uninstalled 2.6.7, and reinstalled the GUI from 2.6.6 together with the service from 2.6.7, same error. I installed only 2.6.6 and now the server can disconnect and reconnect.
OS Windows 11 Pro
The text was updated successfully, but these errors were encountered: