1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-31 11:22:06 +00:00

Bug fix: get groupname of group rather than user

This commit is contained in:
TectonicEd 2014-02-26 09:13:30 +00:00
parent ea09a74ad9
commit a467c2346f

View file

@ -85,7 +85,7 @@ public override void SetPermissions(string path, string mask, string user, strin
if (!uint.TryParse(group, out groupId))
{
var g = Syscall.getgrnam(user);
var g = Syscall.getgrnam(group);
if (g == null)
{