tests: Simplify write access to /etc.