Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions WSLGd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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";

Expand Down Expand Up @@ -289,9 +288,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, 0777) < 0);

std::filesystem::create_directories(c_xdgRuntimeDir);
THROW_LAST_ERROR_IF(chown(c_xdgRuntimeDir, passwordEntry->pw_uid, passwordEntry->pw_gid) < 0);
THROW_LAST_ERROR_IF(chmod(c_xdgRuntimeDir, 0777) < 0);
Expand Down