Fixed binary execute permissions for osx and Radarr

Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
Taloth Saldono
2020-11-22 17:10:29 +01:00
committed by Qstick
parent 4236afe850
commit 70c572534a
7 changed files with 26 additions and 7 deletions
@@ -128,7 +128,7 @@ namespace NzbDrone.Update.UpdateEngine
// Set executable flag on Readarr app
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
{
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Readarr"), "0755", null);
_diskProvider.SetFilePermissions(Path.Combine(installationFolder, "Readarr"), "755", null);
}
}
catch (Exception e)