Skip to content

Commit 22e4aff

Browse files
author
Ben Hillis
committed
Update mode of .X11-unix directory to 01755 (sticky bit set)
1 parent 2bffa4a commit 22e4aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WSLGd/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ try {
301301
THROW_LAST_ERROR_IF(chmod(c_dbusDir, 0777) < 0);
302302

303303
std::filesystem::create_directories(c_x11RuntimeDir);
304-
THROW_LAST_ERROR_IF(chmod(c_x11RuntimeDir, 0777) < 0);
304+
THROW_LAST_ERROR_IF(chmod(c_x11RuntimeDir, 01777) < 0);
305305

306306
std::filesystem::create_directories(c_xdgRuntimeDir);
307307
THROW_LAST_ERROR_IF(chmod(c_xdgRuntimeDir, 0700) < 0);

0 commit comments

Comments
 (0)