Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22687

CMake plugins creates files for user root

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When cmake plugin is run it shows some errors because there are no rights for accessing files.
      These files belong to user root instead of user jenkins:

      CMake Error: Cannot open file for write: /var/lib/jenkins/home/workspace/myproject/default/build/src/test/CMakeFiles/mytest.dir/flags.make.tmp
      CMake Error: : System Error: Permission denied

      Actually all directories with the schema "<name>.dir" belong to user root instead of user jenkins

      On Gentoo jenkins is started with parameter "--user jenkins"!

      jenkins version 1.500, cmake plugin version 1.9

        Attachments

          Activity

          barade barade barade created issue -
          15knots Martin Weber made changes -
          Field Original Value New Value
          Resolution Not A Defect [ 7 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154798 ] JNJira + In-Review [ 195032 ]
          15knots Martin Weber made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            barade barade barade
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: