Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3051

/var/cfengine/state doesn't have proper permissions in the packages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.14.0, 3.12.3
    • Component/s: Packaging
    • Labels:
      None

      Description

      The first agent run after installation does this:

          info: Object '/var/cfengine/modules' had permission 0700, changed it to 0755
          info: Object '/var/cfengine/state' had permission 0755, changed it to 0700
      

      We should prevent that and have the permissions correct already in the packages. On hub, the ownership and permissions of the state directory may be changed in the package scriptlets (PostgreSQL needs access).

        Attachments

          Activity

            People

            • Assignee:
              vpodzime Vratislav Podzimek
              Reporter:
              vpodzime Vratislav Podzimek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel