CMake plugins creates files for user root

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: