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

The directory given with --webroot is cleaned if it already exists, even with existing files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Major Major
    • core
    • None
    • Linux 2.6.9-42.0.10.ELsmp
      Hudson fresh install from download.

      hudson.war is on /usr/local/apache/htdocs, where some files already exist.
      We launched :
      {{
      java -jar hudson.war --webroot /usr/local/apache/htdocs
      }}
      Existing files within htdocs have been removed. Including symbolic link targets !
      To ensure that this behaviour was easy to reproduce, we have created a temporary directory and add some dummy files within.
      Running the same command has produced the same result.
      Note that when symbolic links are present in the directory, they are removed along with their targets !

            Unassigned Unassigned
            jlpinardon jlpinardon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: