New: Displaying folder-based permissions in UI rather than file-based permissions and with selectable sane presets

Fixed: Preserve setgid when applying unix permissions
This commit is contained in:
Taloth Saldono 2020-10-06 01:00:47 +02:00 committed by Qstick
parent 40df88e37c
commit e2a0b63256
21 changed files with 462 additions and 122 deletions

View file

@ -128,7 +128,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");
_diskProvider.SetPermissions(Path.Combine(installationFolder, "Lidarr"), "0755", null);
}
}
catch (Exception e)