diff options
| author | Liam Mitchell <[email protected]> | 2025-11-17 16:06:37 -0800 |
|---|---|---|
| committer | Liam Mitchell <[email protected]> | 2025-11-17 16:06:37 -0800 |
| commit | 050349adf95077b245ea85b837c416c3de29c296 (patch) | |
| tree | 28b772f3ea5c739351af4f6107a926c3e78e5645 /src | |
| parent | 5.7.10 (diff) | |
| download | zen-050349adf95077b245ea85b837c416c3de29c296.tar.xz zen-050349adf95077b245ea85b837c416c3de29c296.zip | |
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) { |