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

Jenkins Folder Permission getting reset on Machine Restart

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • component
    • None
    • Redhat Linux

    Description

      We have installed jenkins on a Redhat server from the Jenkins repository and have followed the documentation properly (https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Red+Hat+distributions)Also we have started Jenkins process with default configuration except for the user running jenkins.

      This is changed to another user so that the build scripts are executed by the build user from Jenkins. To do this we have changed the JENKINS_USER in /etc/sysconfig/jenkins and also changed the permissions of the below folders:
      /var/log/jenkins
      /var/lib/jenkins
      /var/cache/Jenkins
      to the build user and the Jenkins service is now started properly with the build user.

      But the issue occurs when the machine is rebooted. After booting the 3 folders above have their permissions again reset to 'jenkins' user due to which the service fails to start as the config has JENKINS_USER as build user.

      Attachments

        Activity

          There are no comments yet on this issue.

          People

            praqma Praqma Support
            shibin_ishaque Shibin Ishaque
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: