New issue
Advanced search Search tips

Issue 806059 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Dropping shill privileges: l2tpipsec_vpn expects ability to mkdir() in /run

Project Member Reported by mortonm@chromium.org, Jan 25 2018

Issue description

l2tpipsec_vpn tries to create a directory in /run, which is only writable by root.

Code: https://cs.corp.google.com/chromeos_public/src/platform2/vpn-manager/l2tpipsec_vpn.cc?rcl=3cc3ad612a50a432e32dc0c043444873763c6c7b&l=170
 
Also, after main() returns, the destructor for ScopedTempDir attempts to delete /var/run/charon.pid, which fails when running as non-root.
Components: Security
Labels: OS-Chrome
Status: Fixed (was: Untriaged)
Fixed by CL:1089122

Sign in to add a comment