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

CMake plugins creates files for user root

    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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: