[ET Trac] [Einstein Toolkit] #139: Existing symbolic links not deleted

Einstein Toolkit trac-noreply at einsteintoolkit.org
Wed Dec 8 11:16:12 CST 2010


#139: Existing symbolic links not deleted
----------------------------+-----------------------------------------------
  Reporter:  eschnett       |       Owner:  eric9
      Type:  defect         |      Status:  new  
  Priority:  major          |   Milestone:       
 Component:  GetComponents  |     Version:       
Resolution:                 |    Keywords:       
----------------------------+-----------------------------------------------

Comment (by knarf):

 Replying to [comment:3 knarf]:

 > Both result in the same link within 'Cactus' in case there is no
 'example' there yet. Adding -n to version a) would, however, result in
 overwriting 'Cactus'. The question now is which version of the ln command
 is actually used by GetComponents. Version b) would however fail without
 -n if 'example' already exists, because it would try to create an
 'example' link within the target of the existing 'example' link.

 As a summary: using -nfs is probably the best option, but one has to make
 sure that the name of the target link is always specified in the link
 command, not only the directory of the link target like in version a)
 above.

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/139#comment:4>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list