HomeSoftware Heritage

use more restrictive mode on temp paths

Description

use more restrictive mode on temp paths

I get this on each run here:

Notice: /Stage[main]/Nginx::Config/File[/run/nginx/client_body_temp]/mode: mode changed '0700' to '0755'
Notice: /Stage[main]/Nginx::Config/File[/run/nginx/proxy_temp]/mode: mode changed '0700' to '0755'

It seems like nginx and this module have different opinions on the
correct mode for those directories. I believe Nginx is more correct,
and we should therefore follow it.

Note that this might apply to your module only if you have a global
File default resource defined.

Closes: #1272

Details

Provenance
Antoine Beaupré <anarcat@debian.org>Authored on Feb 1 2021, 9:12 PM
olasdPushed on Dec 28 2021, 10:47 AM
Parents
rSPNGX66b86dcee458: [blacksmith] Bump version to 3.0.1-rc0
Branches
Unknown
Tags
Unknown

Event Timeline

Antoine Beaupré <anarcat@debian.org> committed rSPNGX7df38b771347: use more restrictive mode on temp paths (authored by Antoine Beaupré <anarcat@debian.org>).Feb 1 2021, 9:12 PM