Support for setting uid/gid on *nix systems

This commit is contained in:
Mark McDowall 2014-01-30 21:24:32 -08:00
parent 3ed37997c5
commit 7218772b32
10 changed files with 93 additions and 17 deletions

View file

@ -305,6 +305,20 @@ namespace NzbDrone.Core.Configuration
set { SetValue("FolderChmod", value); }
}
public String ChownUser
{
get { return GetValue("User", ""); }
set { SetValue("User", value); }
}
public String ChownGroup
{
get { return GetValue("User", ""); }
set { SetValue("User", value); }
}
private string GetValue(string key)
{
return GetValue(key, String.Empty);