Skip to content

2.7 alpha1 missing log directory write permission on Windows #942

@jernejs

Description

@jernejs

Describe the bug
OpenVPNService runs as NT SERVICE\OpenVPNService starting from v2.7. The log directory in %PROGRAMDATA%\OpenVPN\log does not have write permission for this user by default (tested both in upgrade and clean install case).

To Reproduce
Install OpenVPN 2.7 alpha1, put a profile in %PROGRAMFILES%\OpenVPN\config-auto and start OpenVPNService

Expected behavior
Log file for connection is created in %PROGRAMDATA%\OpenVPN\log

Version information (please complete the following information):

  • OS: Windows 11 24H2
  • OpenVPN version: 2.7 alpha1

Additional context
Manually adding NT SERVICE\OpenVPNService write permission to the Log directory allows OpenVPNService logs to be written.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions