diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2024-11-28 19:56:26 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2024-11-29 13:00:51 -0500 |
| commit | 3d3cf5bd7aa19aaf245aa1fe426fe39f2e7c3436 (patch) | |
| tree | b12754a19561ba83f1ae63221044adbb384cb4ee /.config | |
| parent | remove unused import from InternalStorageService (diff) | |
| download | sharkey-3d3cf5bd7aa19aaf245aa1fe426fe39f2e7c3436.tar.gz sharkey-3d3cf5bd7aa19aaf245aa1fe426fe39f2e7c3436.tar.bz2 sharkey-3d3cf5bd7aa19aaf245aa1fe426fe39f2e7c3436.zip | |
add option `filePermissionBits` to override permissions on locally-stored files
This is useful for custom deployments, such as using a reverse proxy to serve static files directly
Diffstat (limited to '.config')
| -rw-r--r-- | .config/ci.yml | 5 | ||||
| -rw-r--r-- | .config/cypress-devcontainer.yml | 5 | ||||
| -rw-r--r-- | .config/docker_example.yml | 5 | ||||
| -rw-r--r-- | .config/example.yml | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/.config/ci.yml b/.config/ci.yml index d20ede8d35..8730ccab3a 100644 --- a/.config/ci.yml +++ b/.config/ci.yml @@ -229,3 +229,8 @@ checkActivityPubGetSignature: false # Upload or download file size limits (bytes) #maxFileSize: 262144000 + +# CHMod-style permission bits to apply to uploaded files. +# Permission bits are specified as a base-8 string representing User/Group/Other permissions. +# This setting is only useful for custom deployments, such as using a reverse proxy to serve media. +#filePermissionBits: '644' diff --git a/.config/cypress-devcontainer.yml b/.config/cypress-devcontainer.yml index d8013a1c95..342b0f43da 100644 --- a/.config/cypress-devcontainer.yml +++ b/.config/cypress-devcontainer.yml @@ -222,3 +222,8 @@ allowedPrivateNetworks: [ # Upload or download file size limits (bytes) #maxFileSize: 262144000 + +# CHMod-style permission bits to apply to uploaded files. +# Permission bits are specified as a base-8 string representing User/Group/Other permissions. +# This setting is only useful for custom deployments, such as using a reverse proxy to serve media. +#filePermissionBits: '644' diff --git a/.config/docker_example.yml b/.config/docker_example.yml index 5fac3dc41e..ce2daf3aec 100644 --- a/.config/docker_example.yml +++ b/.config/docker_example.yml @@ -312,3 +312,8 @@ checkActivityPubGetSignature: false # Upload or download file size limits (bytes) #maxFileSize: 262144000 + +# CHMod-style permission bits to apply to uploaded files. +# Permission bits are specified as a base-8 string representing User/Group/Other permissions. +# This setting is only useful for custom deployments, such as using a reverse proxy to serve media. +#filePermissionBits: '644' diff --git a/.config/example.yml b/.config/example.yml index cf7b972de5..9debb3bf70 100644 --- a/.config/example.yml +++ b/.config/example.yml @@ -334,3 +334,8 @@ checkActivityPubGetSignature: false # PID File of master process #pidFile: /tmp/misskey.pid + +# CHMod-style permission bits to apply to uploaded files. +# Permission bits are specified as a base-8 string representing User/Group/Other permissions. +# This setting is only useful for custom deployments, such as using a reverse proxy to serve media. +#filePermissionBits: '644' |