aboutsummaryrefslogtreecommitdiff
path: root/README-Docker.md
diff options
context:
space:
mode:
authorBeat Reichenbach <44111292+beatreichenbach@users.noreply.github.com>2024-02-22 00:47:43 -0800
committerGitHub <noreply@github.com>2024-02-22 08:47:43 +0000
commitc4dfb66d8476d85124242d5d4d7c799567258278 (patch)
tree6394c82f85b85a79ec966afb2af33d92805de3a4 /README-Docker.md
parentf4d160684bf36c67d39ea60b9244cdb4c1041d67 (diff)
downloadsyncthing-c4dfb66d8476d85124242d5d4d7c799567258278.tar.gz
syncthing-c4dfb66d8476d85124242d5d4d7c799567258278.zip
docker: Add support for setting umask (#9429)
Add support for setting umask value in the Docker `entrypoint.sh` script. This is useful when not syncing permissions and working with groups, and needing umask values like `002` instead of `022`.
Diffstat (limited to 'README-Docker.md')
-rw-r--r--README-Docker.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README-Docker.md b/README-Docker.md
index 27acf53aa..02b0dc5d7 100644
--- a/README-Docker.md
+++ b/README-Docker.md
@@ -15,6 +15,9 @@ To grant Syncthing additional capabilities without running as root, use the
`PCAP` environment variable with the same syntax as that for `setcap(8)`.
For example, `PCAP=cap_chown,cap_fowner+ep`.
+To set a different umask value, use the `UMASK` environment variable. For
+example `UMASK=002`.
+
## Example Usage
**Docker cli**