diff options
| author | unknown <jonathan@mullvad.net> | 2023-10-23 03:34:36 -0700 |
|---|---|---|
| committer | Jonathan <jonathan@mullvad.net> | 2023-11-13 09:21:40 +0100 |
| commit | 59126cfb4dcf278565fadf84f36ff39e89d5f9ae (patch) | |
| tree | f3057e49115586ca6add1369af5c714804880cc0 /windows/nsis-plugins/src/cleanup/cleaningops.cpp | |
| parent | 73c89488d8ff7bff2a33c973cbcc62f7f14b403e (diff) | |
| download | mullvadvpn-59126cfb4dcf278565fadf84f36ff39e89d5f9ae.tar.xz mullvadvpn-59126cfb4dcf278565fadf84f36ff39e89d5f9ae.zip | |
Stronger permissions for mullvad directories
Set read-only permissions for authenticated users and full-access for
admins for relevant mullvad directories on creation.
Diffstat (limited to 'windows/nsis-plugins/src/cleanup/cleaningops.cpp')
| -rw-r--r-- | windows/nsis-plugins/src/cleanup/cleaningops.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/nsis-plugins/src/cleanup/cleaningops.cpp b/windows/nsis-plugins/src/cleanup/cleaningops.cpp index d95f275bca..917b9356cf 100644 --- a/windows/nsis-plugins/src/cleanup/cleaningops.cpp +++ b/windows/nsis-plugins/src/cleanup/cleaningops.cpp @@ -123,6 +123,7 @@ void MigrateCacheServiceUser() common::fs::Mkdir(newCacheDir); const auto localAppData = GetSystemUserLocalAppData(); + const auto oldCacheDir = std::filesystem::path(localAppData).append(L"Mullvad VPN"); common::fs::ScopedNativeFileSystem nativeFileSystem; |
