diff options
| author | Liam Mitchell <[email protected]> | 2025-11-19 17:26:07 -0800 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-11-19 17:26:07 -0800 |
| commit | ec0780e14c856b746bee2c52a81a304d1763eadc (patch) | |
| tree | 324af1e27fbcea0e5baa00d635d1a5f457cd50b7 /src | |
| parent | renamed deployment script (diff) | |
| parent | Make files writeable after full service install to avoid issues when attempti... (diff) | |
| download | zen-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.cpp | 4 |
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) { |