aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Files/FileService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Files/FileService.cs')
-rw-r--r--src/slskd/Files/FileService.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slskd/Files/FileService.cs b/src/slskd/Files/FileService.cs
index d9aa9dc3..0d193d73 100644
--- a/src/slskd/Files/FileService.cs
+++ b/src/slskd/Files/FileService.cs
@@ -275,7 +275,7 @@ namespace slskd.Files
// we *MUST* check the OS and skip this on Windows
if (!OperatingSystem.IsWindows())
{
- var appOption = OptionsMonitor.CurrentValue.Global.Download.File.Permissions;
+ var appOption = OptionsMonitor.CurrentValue.Permissions.File.Mode;
// if options haven't been passed in and none have been set in app config, omit this
// so that the application's umask will be applied, saving users the hassle of setting it twice.