diff --git a/WSLGd/main.cpp b/WSLGd/main.cpp index e289f69b..b7684096 100644 --- a/WSLGd/main.cpp +++ b/WSLGd/main.cpp @@ -301,7 +301,7 @@ try { THROW_LAST_ERROR_IF(chmod(c_dbusDir, 0777) < 0); std::filesystem::create_directories(c_x11RuntimeDir); - THROW_LAST_ERROR_IF(chmod(c_x11RuntimeDir, 0777) < 0); + THROW_LAST_ERROR_IF(chmod(c_x11RuntimeDir, 01755) < 0); std::filesystem::create_directories(c_xdgRuntimeDir); THROW_LAST_ERROR_IF(chmod(c_xdgRuntimeDir, 0700) < 0);