From ba0894a453e4170c3f15b76e0212724a03ab607c Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Fri, 4 Dec 2015 23:12:28 -0500 Subject: [PATCH] posix->linux for better mac compat --- web.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web.d b/web.d index 05091a6..25f901c 100644 --- a/web.d +++ b/web.d @@ -3431,7 +3431,7 @@ class Session { // easily stolen. Note: if your shared host doesn't have different // users on the operating system for each user, it's still possible // for them to access this file and hijack your session! - version(Posix) + version(linux) enforce(linux.chmod(toStringz(getFilePath()), octal!600) == 0, "chmod failed"); // FIXME: ensure the file's read permissions are locked down // on Windows too.