Commit 3181ded7 authored by anonym's avatar anonym
Browse files

Ensure reproducible permissions for /etc/hostname.

A user reported all executable bits of /etc/hostname being set when
trying to reproduce Tails 3.1.

Will-fix: #13623
parent 9fd47d24
......@@ -52,3 +52,7 @@ cut -d: -f1 /etc/shadow | \
xargs -L1 \
chage --lastday \
"$(($(date --utc --date "@${SOURCE_DATE_EPOCH}" "+%s") / 86400))"
# A user reported all executable bits of /etc/hostname being set when
# trying to reproduce Tails 3.1. See #13623 for details.
chmod u=rw,go=r /etc/hostname
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment