From 050349adf95077b245ea85b837c416c3de29c296 Mon Sep 17 00:00:00 2001 From: Liam Mitchell Date: Mon, 17 Nov 2025 16:06:37 -0800 Subject: Make files writeable after full service install to avoid issues when attempting to update from a read-only source such as p4 --- src/zen/cmds/service_cmd.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/zen/cmds/service_cmd.cpp b/src/zen/cmds/service_cmd.cpp index f64e6860d..8be76de7c 100644 --- a/src/zen/cmds/service_cmd.cpp +++ b/src/zen/cmds/service_cmd.cpp @@ -490,6 +490,10 @@ ServiceCommand::Run(const ZenCliOptions& GlobalOptions, int argc, char** argv) std::filesystem::permissions(Destination, std::filesystem::perms::owner_exec, std::filesystem::perm_options::add); } + std::filesystem::permissions(Destination, + std::filesystem::perms::owner_write | std::filesystem::perms::group_write, + std::filesystem::perm_options::add); + #if ZEN_PLATFORM_LINUX if (UserId != 0) { -- cgit v1.2.3