Fixed: Set update executable permissions correctly

pull/1054/head
Qstick 2 years ago
parent 86fe19a5dd
commit 5436d4f800

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

Loading…
Cancel
Save