UI and opt-in for setting permissions

This commit is contained in:
Mark McDowall
2014-01-26 00:57:14 -08:00
parent 5459b5fed4
commit 49168cad25
12 changed files with 137 additions and 68 deletions
@@ -284,9 +284,16 @@ namespace NzbDrone.Core.Configuration
set { SetValue("DownloadClientWorkingFolders", value); }
}
public Boolean SetPermissionsLinux
{
get { return GetValueBoolean("SetPermissionsLinux", false); }
set { SetValue("SetPermissionsLinux", value); }
}
public String FileChmod
{
get { return GetValue("FileChmod", "0755"); }
get { return GetValue("FileChmod", "0644"); }
set { SetValue("FileChmod", value); }
}
@@ -42,6 +42,7 @@ namespace NzbDrone.Core.Configuration
Boolean EnableFailedDownloadHandling { get; set; }
Boolean CreateEmptySeriesFolders { get; set; }
void SaveValues(Dictionary<string, object> configValues);
Boolean SetPermissionsLinux { get; set; }
String FileChmod { get; set; }
String FolderChmod { get; set; }
}