[ET Trac] [Einstein Toolkit] #453: Formaline deletes files if lib and src are symlinks

Einstein Toolkit trac-noreply at einsteintoolkit.org
Tue Jun 21 17:46:19 CDT 2011


#453: Formaline deletes files if lib and src are symlinks
----------------------------+-----------------------------------------------
  Reporter:  barry.wardell  |       Owner:     
      Type:  defect         |      Status:  new
  Priority:  major          |   Milestone:     
 Component:  Cactus         |     Version:     
Resolution:                 |    Keywords:     
----------------------------+-----------------------------------------------

Comment (by barry.wardell):

 Replying to [comment:9 barry.wardell]:
 > To me this seems like an OS/perl bug to me. Would the best think to do
 be to add an explicit check that the source is not a symlink or directory
 before it does the link command?

 In fact, this seems to be a feature, not a bug. According to
 http://osxbook.com/blog/2008/11/09/hfsdebug-40-and-new-hfs-features/

 > Leopard at the time of this writing requires the following conditions to
 be met for a directory hard link’s creation to be allowed. In the
 following list, “source” refers to the existing directory that will be
 pointed at by the new directory hard link “destination” that’s being
 created.
 >
 > The file system must be journaled HFS+.
 > The parent directories of the source and destination must be different.
 > The source’s parent must not be the root directory.
 > The destination must not be in the root directory.
 > The destination must not be a descendent of the source.
 > The destination must not have any ancestor that’s a directory hard link.

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


More information about the Trac mailing list