HomeSoftware Heritage

Set script's group to 0 if script owner is root
9990f2e39e84Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Set script's group to 0 if script owner is root

When files on a puppetmaster are owned by a non-root user,
concatfragments.sh gets installed on the nodes with a group
owner matching the one of the master.

This has no security implications since the file is mode 755,
but does lead to possible ping-pong situations when switching
between environments where the files on the master have
different group ownership.

Use '0' instead of 'root', since the root user's main group
isn't always 'root' on some BSDs, but always '0'.

Details

Provenance
Matthias Saou <matthias@saou.eu>Authored on
olasdPushed on Sep 10 2015, 1:22 PM
Parents
rSPCAT30fbfe11aaf6: Merge pull request #277 from buzzdeee/concat_order_verification_fix
Branches
Unknown
Tags
Unknown

Event Timeline

Matthias Saou <matthias@saou.eu> committed rSPCAT9990f2e39e84: Set script's group to 0 if script owner is root (authored by Matthias Saou <matthias@saou.eu>).Mar 5 2015, 5:06 PM