HomeSoftware Heritage

MODULES-10548: make files readonly

Description

MODULES-10548: make files readonly

Files created by the apt module are mode writable by the
owner. Because those files are managed by Puppet, they should really
not be writable by anyone, even root. While root can bypass those
warnings, having files readonly does provide an immediate and reliable
indication that a file should not be edited on site, on top of the
usual top of file warnings.

This also fixes a problem with sources.list.d being non-executable,
which Puppet seems to ignore, but seems better to keep consistent.

Details

Provenance
Antoine Beaupré <anarcat@debian.org>Authored on Feb 12 2020, 8:23 PM
olasdPushed on Apr 1 2020, 10:50 AM
Parents
rSPAPTdcb71161ed8a: Merge pull request #905 from anarcat/no-release
Branches
Unknown
Tags
Unknown
Reverted By
rSPAPT316fd8f4dd1e: Revert "MODULES-10548: make files readonly"