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

CMake plugins creates files for user root

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Major Major
    • cmakebuilder-plugin
    • None
    • Gentoo Linux

      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

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

              Created:
              Updated:
              Resolved: