Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/commit/873134fceed61ee51853466fca129f194ce28015 You should set ROOT_URL correctly, otherwise the web may not work correctly.

guard against InheritFolderPermissionsNotImplementedException in linux.

pull/30/head
kay.one 12 years ago
parent f8afed195a
commit 873134fcee

@ -271,9 +271,19 @@ namespace NzbDrone.Common
{
Ensure.That(() => filename).IsValidPath();
var fs = File.GetAccessControl(filename);
fs.SetAccessRuleProtection(false, false);
File.SetAccessControl(filename, fs);
try
{
var fs = File.GetAccessControl(filename);
fs.SetAccessRuleProtection(false, false);
File.SetAccessControl(filename, fs);
}
catch (NotImplementedException)
{
if (!OsInfo.IsLinux)
{
throw;
}
}
}
public long? GetAvailableSpace(string path)

Loading…
Cancel
Save