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

Wrong Permission of slave workspace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      Sometimes the workspace directory on my linux slave has the wrong chmod set. The hudson ssh user has +r and +w permissions on the directory, but it's missing the +x permission, so the directory can't be entered. On first usage the directorys are ctreated with the correct permissions. Some undefined time later the ermissions go wrong. Deleting the directory makes hudson recreate it with the correct permissions, but they will go wrong again after a while.

      The error leads to the following stack trace:

      Started by user anonymous
      Building remotely on lisa-build.deu.hp.com
      java.io.IOException: Failed to mkdirs: /home/delta/hudson/workspace/lisa-review-single
      at hudson.FilePath.mkdirs(FilePath.java:812)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1080)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411)
      at hudson.model.Run.run(Run.java:1280)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:293)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:140)

            Unassigned Unassigned
            tisoft_media tisoft_media
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated: