1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00

Fixed: Set permissions on Sonarr.app (OS X)

This commit is contained in:
Mark McDowall 2015-04-14 23:15:43 -07:00
parent 61ae7dc189
commit f18ad21b48

View File

@ -91,6 +91,12 @@ public void Start(string installationFolder, int processId)
_logger.Info("Copying new files to target folder");
_diskProvider.CopyFolder(_appFolderInfo.GetUpdatePackageFolder(), installationFolder);
// Set executable flag on SOnarr app
if (OsInfo.IsOsx)
{
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Sonarr"), "0755", null, null);
}
}
catch (Exception e)
{