From 1ea883bc914a24d27efb4149567b723bd4623c49 Mon Sep 17 00:00:00 2001 From: Ben Hillis Date: Wed, 8 Nov 2023 13:16:57 -0800 Subject: [PATCH] try something new --- WSLGd/main.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/WSLGd/main.cpp b/WSLGd/main.cpp index f3c9b93d..9a13a051 100644 --- a/WSLGd/main.cpp +++ b/WSLGd/main.cpp @@ -22,7 +22,6 @@ constexpr auto c_versionFile = "/etc/versions.txt"; constexpr auto c_versionMount = SHARE_PATH "/versions.txt"; constexpr auto c_shareDocsDir = "/usr/share/doc"; constexpr auto c_shareDocsMount = SHARE_PATH "/doc"; -constexpr auto c_x11RuntimeDir = SHARE_PATH "/.X11-unix"; constexpr auto c_xdgRuntimeDir = SHARE_PATH "/runtime-dir"; constexpr auto c_stdErrLogFile = SHARE_PATH "/stderr.log"; @@ -300,9 +299,6 @@ try { THROW_LAST_ERROR_IF(chown(c_dbusDir, passwordEntry->pw_uid, passwordEntry->pw_gid) < 0); THROW_LAST_ERROR_IF(chmod(c_dbusDir, 0777) < 0); - std::filesystem::create_directories(c_x11RuntimeDir); - THROW_LAST_ERROR_IF(chmod(c_x11RuntimeDir, 01777) < 0); - std::filesystem::create_directories(c_xdgRuntimeDir); THROW_LAST_ERROR_IF(chmod(c_xdgRuntimeDir, 0700) < 0); THROW_LAST_ERROR_IF(chown(c_xdgRuntimeDir, passwordEntry->pw_uid, passwordEntry->pw_gid) < 0);