Skip to content

Commit

Permalink
Update mode of .X11-unix directory to 01755 (sticky bit set)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Hillis committed Nov 8, 2023
1 parent 2bffa4a commit 22e4aff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WSLGd/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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, 01777) < 0);

std::filesystem::create_directories(c_xdgRuntimeDir);
THROW_LAST_ERROR_IF(chmod(c_xdgRuntimeDir, 0700) < 0);
Expand Down

0 comments on commit 22e4aff

Please sign in to comment.