Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-1986

Permissions for libdir are set arbitrarily

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: PUP 3.4.3
    • Fix Version/s: PUP 3.6.0
    • Component/s: Modules
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-3-26 to 2014-4-02, Week 2014-4-02 to 2014-4-09, Week 2014-4-09 to 2014-4-16, Week 2014-4-16 to 2014-4-23

      Description

      It appears that the mode for libdir is set during pluginsync, to the mode of the lib/ directory of some module being synced (apparently whichever comes first). However, the owner and group are always set to root. This means that a module which is readable only by puppet in the modulepath becomes readable only by root in the libdir. That causes problems for users who install modules with restrictive umasks and wish to install plugins for the puppet master, since it isn't actually allowed to load them from the libdir (and require won't find them in the modulepath).

      Worse still, the mode is set separately from the standard settings catalog, which means even overriding it in puppet.conf will cause it to be set correctly and then changed later by pluginsync.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nick Nick Lewis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support