aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-11-19 17:26:07 -0800
committerGitHub Enterprise <[email protected]>2025-11-19 17:26:07 -0800
commitec0780e14c856b746bee2c52a81a304d1763eadc (patch)
tree324af1e27fbcea0e5baa00d635d1a5f457cd50b7 /src
parentrenamed deployment script (diff)
parentMake files writeable after full service install to avoid issues when attempti... (diff)
downloadzen-ec0780e14c856b746bee2c52a81a304d1763eadc.tar.xz
zen-ec0780e14c856b746bee2c52a81a304d1763eadc.zip
Merge pull request #653 from ue-foundation/lm/service-install-permissions
Make files writeable after full service install to avoid issues when attempting to update from a read-only source such as p4
Diffstat (limited to 'src')
-rw-r--r--src/zen/cmds/service_cmd.cpp4
1 files changed, 4 insertions, 0 deletions
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)
{