circular symlinks created in certain cases

XMLWordPrintable

      While running ihope workflows in the LIGO mode, duncan ran into an issue of circular symlinks i.e. the symlink jobs try to create a symlink between the same source and destination file.

      for e.g.
      The symlink input file had this source destination pair

      /home/dbrown/projects/cbc/s6/week3_dax/dax/932169543-932180000/playground/V1-SIRE_SUMMARY_FIRST_PLAYGROUND-932169543-10457.input /home/dbrown/projects/cbc/s6/week3_dax/dax/932169543-932180000/./playground/V1-SIRE_SUMMARY_FIRST_PLAYGROUND-932169543-10457.input

      The above case happens when the input location refers to the directory where the user want the jobs to be executed.

      Ideally , both the symlinking executable and pegasus should have inbuilt checks to detect this case and not try to create a symlink.

            Assignee:
            Karan Vahi
            Reporter:
            Karan Vahi
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: