New: Removed chown and simplified chmod options for linux/osx

Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
Arthur Bols
2020-06-07 19:05:25 +02:00
committed by Qstick
parent e18f4bb71c
commit acd5796d87
17 changed files with 216 additions and 140 deletions
@@ -122,7 +122,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, null);
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Readarr"), "0755");
}
}
catch (Exception e)