CMake plugins creates files for user root

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Component/s: cmakebuilder-plugin
    • None
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: