Skip to content

Commit

Permalink
Add 775 to generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Duplenskikh committed Oct 6, 2023
1 parent 00d2d0f commit 7d46b42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Agent.Worker/JobExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,9 @@ private string GenerateAZCLIDowngradeScript()

File.WriteAllText(downgradeScript, template);

var unixUtil = HostContext.CreateService<IUnixUtil>();
unixUtil.ChmodAsync("755", downgradeScript).GetAwaiter().GetResult();

return downgradeScript;
}

Expand Down

0 comments on commit 7d46b42

Please sign in to comment.