Skip to content

Commit 7f9a6d3

Browse files
committed
Deprecate UMASK_SET in favor of UMASK in baseimage
1 parent 8c3b5f5 commit 7f9a6d3

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Diff for: README.md

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
232232

233233
## Versions
234234

235+
* **29.01.21:** - Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information.
235236
* **23.01.21:** - Rebasing to alpine 3.13.
236237
* **15.09.20:** - Use go from alpine edge repo to compile. Remove duplicate UMASK env var. Add hostname setting.
237238
* **01.06.20:** - Rebasing to alpine 3.12.

Diff for: readme-vars.yml

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ app_setup_nginx_reverse_proxy_block: ""
4242
# changelog
4343

4444
changelogs:
45+
- { date: "29.01.21:", desc: "Deprecate `UMASK_SET` in favor of UMASK in baseimage, see above for more information." }
4546
- { date: "23.01.21:", desc: "Rebasing to alpine 3.13." }
4647
- { date: "15.09.20:", desc: "Use go from alpine edge repo to compile. Remove duplicate UMASK env var. Add hostname setting." }
4748
- { date: "01.06.20:", desc: "Rebasing to alpine 3.12." }

Diff for: root/etc/services.d/syncthing/run

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/with-contenv bash
22

3-
if [ -n "$UMASK_SET" ]; then
4-
umask "$UMASK_SET"
3+
if [ -n "${UMASK_SET}" ] && [ -z "${UMASK}" ]; then
4+
echo -e "You are using a legacy method of defining umask\nplease update your environment variable from UMASK_SET to UMASK\nto keep the functionality after July 2021"
5+
umask ${UMASK_SET}
56
fi
67

78
exec \

0 commit comments

Comments
 (0)