aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2024-05-26 20:59:00 -0500
committerGitHub <noreply@github.com>2024-05-26 20:59:00 -0500
commite2e8fb86f74fdbd1c39820a7ac3adc91d4a5c2a8 (patch)
treea6d1ec0e9c8bcef57951924073a905329392ebdd /config
parentff841bc6411be74e99b0b71754d23614a59c7187 (diff)
parentf7fefd065aec5ba3a9b4e679e36a5997924ec591 (diff)
downloadslskd-e2e8fb86f74fdbd1c39820a7ac3adc91d4a5c2a8.tar.gz
Merge pull request #1128 from slskd/file-perms
Add the ability to configure Unix file permissions to be applied to newly downloaded files
Diffstat (limited to 'config')
-rw-r--r--config/slskd.example.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml
index f4839e6d..f1e1b4ab 100644
--- a/config/slskd.example.yml
+++ b/config/slskd.example.yml
@@ -32,6 +32,9 @@
# instance_name: my_agent # make sure the top-level instance_name of the agent matches!
# secret: <a 16-255 character string unique to this agent>
# cidr: 0.0.0.0/0,::/0
+# permissions:
+# file:
+# mode: ~ # not for Windows, chmod syntax, e.g. 644, 777. can't escalate beyond umask
# directories:
# incomplete: ~
# downloads: ~