diff --git a/container/root/etc/cont-init.d/01-stdout.sh b/container/root/etc/cont-init.d/01-stdout.sh new file mode 100644 index 0000000..aa0eab6 --- /dev/null +++ b/container/root/etc/cont-init.d/01-stdout.sh @@ -0,0 +1,8 @@ +#!/usr/bin/with-contenv bash + +# STDOUT happens to be a very special "file" that is has Docker magic applied to it +# Unfortunately, permissions are flaky between builds, sometimes causing unprivileged users +# to hit issues when attempting to write to STDOUT + +# Hack: add others read/write back in at runtime :/ +chmod o+rw /dev/stdout diff --git a/container/root/etc/fix-attrs.d/01-stdout b/container/root/etc/fix-attrs.d/01-stdout deleted file mode 100644 index 64485c7..0000000 --- a/container/root/etc/fix-attrs.d/01-stdout +++ /dev/null @@ -1 +0,0 @@ -/dev/stdout false www-data 0644 2700