From 00866dba9fde0aca98a32672d779144efcd74a08 Mon Sep 17 00:00:00 2001 From: Ted John Date: Sat, 27 Jan 2018 16:09:04 +0000 Subject: [PATCH] Fix new directory permissions --- src/openloco/config.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/openloco/config.cpp b/src/openloco/config.cpp index 6888806a..99f40a73 100644 --- a/src/openloco/config.cpp +++ b/src/openloco/config.cpp @@ -78,7 +78,13 @@ namespace openloco::config if (!fs::is_directory(dir)) { fs::create_directories(configPath.parent_path()); - fs::permissions(dir, fs::perms::owner_read | fs::perms::owner_write | fs::perms::group_read | fs::perms::others_read); + // clang-format off + fs::permissions( + dir, + fs::perms::owner_all | + fs::perms::group_read | fs::perms::group_exec | + fs::perms::others_read | fs::perms::others_exec); + // clang-format on } #ifdef _OPENLOCO_USE_BOOST_FS_