File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
root/etc/services.d/syncthing Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ docker create \
2929 -v *host path to config*:/config \
3030 -v *host path to data*:/mnt/any/dir/you/want \
3131 -e PGID=<gid> -e PUID=<uid> \
32+ -e UMASK_SET=<022> \
3233 -p 8384:8384 -p 22000:22000 -p 21027:21027/udp \
3334 linuxserver/syncthing
3435```
@@ -45,6 +46,7 @@ http://192.168.x.x:8080 would show you what's running INSIDE the container on po
4546* ` -v /mnt/dir ` - Add multiple folders to allow Syncthing access to data you wish to sync
4647* ` -e PGID ` for GroupID - see below for explanation
4748* ` -e PUID ` for UserID - see below for explanation
49+ * ` -e UMASK_SET ` for umask setting , * optional* , default if left unset is 022.
4850* ` -p 8384 ` Webui Port
4951* ` -p 22000 ` Listening Port
5052* ` -p 21027/udp ` Discovery Port
@@ -83,6 +85,7 @@ You can find some of the best documentation available on the web at [docs.syncth
8385
8486## Versions
8587
88+ + ** 25.10.17:** Add env for manual setting of umask.
8689+ ** 29.07.17:** Simplify build structure as symlinks failing on > 0.14.32
8790+ ** 28.05.17:** Rebase to alpine 3.6.
8891+ ** 08.02.17:** Rebase to alpine 3.5.
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22
3- umask 022
3+ UMASK_SET=${UMASK_SET:-022}
4+
5+ umask "$UMASK_SET"
46
57exec \
68 s6-setuidgid abc syncthing \
You can’t perform that action at this time.
0 commit comments