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

This commit is contained in:
Arthur Bols 2020-06-07 19:05:25 +02:00 committed by Qstick
parent b0c7530981
commit e5f48959eb
17 changed files with 216 additions and 140 deletions

View file

@ -122,7 +122,7 @@ namespace NzbDrone.Update.UpdateEngine
// Set executable flag on Lidarr app
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
{
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Lidarr"), "0755", null, null);
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Lidarr"), "0755");
}
}
catch (Exception e)