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

Closes #3760
Closes #3752
This commit is contained in:
Arthur Bols
2020-06-07 19:05:25 +02:00
committed by Qstick
parent 30def1f53a
commit 4b25ef6deb
19 changed files with 218 additions and 150 deletions

View File

@@ -145,7 +145,7 @@ namespace NzbDrone.Core.Update
// Set executable flag on update app
if (OsInfo.IsOsx || (OsInfo.IsLinux && PlatformInfo.IsNetCore))
{
_diskProvider.SetPermissions(_appFolderInfo.GetUpdateClientExePath(updatePackage.Runtime), "0755", null, null);
_diskProvider.SetPermissions(_appFolderInfo.GetUpdateClientExePath(updatePackage.Runtime), "0755");
}
_logger.Info("Starting update client {0}", _appFolderInfo.GetUpdateClientExePath(updatePackage.Runtime));