New: Setting file permissions on import (Linux)

This commit is contained in:
Mark McDowall 2014-01-14 11:21:20 -08:00
parent 37231d1ef0
commit 5459b5fed4
11 changed files with 125 additions and 13 deletions

View file

@ -278,12 +278,26 @@ namespace NzbDrone.Core.Configuration
set { SetValue("CreateEmptySeriesFolders", value); }
}
public string DownloadClientWorkingFolders
public String DownloadClientWorkingFolders
{
get { return GetValue("DownloadClientWorkingFolders", "_UNPACK_|_FAILED_"); }
set { SetValue("DownloadClientWorkingFolders", value); }
}
public String FileChmod
{
get { return GetValue("FileChmod", "0755"); }
set { SetValue("FileChmod", value); }
}
public String FolderChmod
{
get { return GetValue("FolderChmod", "0755"); }
set { SetValue("FolderChmod", value); }
}
private string GetValue(string key)
{
return GetValue(key, String.Empty);