aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Files/FileService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2024-05-19 21:40:47 -0500
committerJP Dillingham <jpdillingham@gmail.com>2024-05-19 21:40:47 -0500
commit79cd6c0033631b33e9508b7c10e48b9edfafe21d (patch)
treeb78f8e3e79315e586411e3609fbf73cce38d3fe9 /src/slskd/Files/FileService.cs
parent65337c147088318961e58c549a90ab79dfa51b44 (diff)
downloadslskd-79cd6c0033631b33e9508b7c10e48b9edfafe21d.tar.gz
move options once again
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.