mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-04 18:12:37 +01:00
Merge pull request #59 from TectonicEd/patch-2
Bug fix: get groupname of group rather than user
This commit is contained in:
commit
953024cd40
@ -93,7 +93,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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user