Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8438

Generated include files installed as mode 0444 instead of 0644

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 5.5, 10.0, 10.1
    • 10.1
    • Compiling
    • None
    • Gentoo Linux

    Description

      Gentoo bug 554258 says:
      "While the issue is not immediately noticeable since usually all write operations on those files (e.g. stripping) are done as root. However, this is upstream issue that will eventually cause some random failures.

      For example, this will fail if the whole build & install is done as unprivileged user. Or when SELinux (without dac_override) is effective [pointed out by perfinion]."

      include/CMakeLists.txt:

      FOREACH(f ${HEADERS_GEN_CONFIGURE})
        INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${f} DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
      ENDFOREACH(f)

      Should be:

      FOREACH(f ${HEADERS_GEN_CONFIGURE})
        INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${f} DESTINATION ${INSTALL_INCLUDEDIR} COMPONENT Development PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
      ENDFOREACH(f)

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              grknight Brian Evans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.