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

Fix all file permissions on puppet module install

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.0.0
    • Component/s: Modules, PMT
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      1
    • Sprint:
      CODEMGMT 2015-01-28, CODEMGMT 2015-02-11

      Description

      If module with broken file permissions is installed, only directory permissions are fixed. File permissions are just slightly modified. E.g.:

      # puppet module install ceritsc-psacct
      

      Ends up with fixed mode 755 on directories, but follows 400 (resp. 600) from module archive.

      # ls -la /etc/puppet/modules/psacct/
      total 36
      drwxr-xr-x. 4 root root 4096 Sep  2 11:20 .
      drwxr-xr-x. 4 root root 4096 Sep  2 13:58 ..
      -r--------. 1 root root  296 Sep  2 11:16 CHANGELOG.md
      -r--------. 1 root root  571 Sep  2 11:20 checksums.json
      -r--------. 1 root root 1115 Jul  9 14:02 LICENSE
      drwxr-xr-x. 2 root root 4096 Nov 12  2013 manifests
      -r--------. 1 root root 1152 Sep  2 11:20 metadata.json
      -r--------. 1 root root  820 Sep  2 11:20 README.md
      drwxr-xr-x. 2 root root 4096 Jul 15  2013 tests
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            holer Vlastimil Holer
            QA Contact:
            Eric Thompson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support