[Zope-Coders] Re: [Zope-dev] Speaking of 2.6...

Mario Valente mvalente@ruido-visual.pt
Thu, 11 Apr 2002 11:28:53 +0100


At 13:17 10-04-2002 -0400, Shane Hathaway wrote:
>Mario Valente wrote:
>>   Hard links in Unix can be renamed. They rename the original object.
>
>What do you mean?  Renaming a hard link does not rename the original file.
>

  You're right. What doesnt change is the inode number. Sorry.



>What's even more interesting is that changing the file mode *does* 
>propagate:
>

  :-)



>>   Actually, if you look at the code, what Zope does right now is that an
>>  object on the Zope tree is a hard link to an object on the ZODB. Zope just
>>  doesnt allow multiple references to the object in the ZODB thus
prohibiting
>>  more than one hard link :-)
>
>ZMI prohibits multiple references for a good reason.  I wrote the 
>Symlink product a couple of years ago, and a few people tried it, but 
>the ID problem was just too significant.  I tried changing attribute 
>names without changing IDs, and it worked, but broke the ZMI.  I looked 
>at different ways of resolving this, but the dual ID storage runs deep. 
>  I thought about modifying acquisition to solve it, but at that point, 
>I wasn't willing to work that hard. :-)
>

>If you have a solid way to solve this issue and the security issues, 
>links in Zope will be great.  But you can't ignore these issues.  In 

  :-) I guess you do know a bit more than I do about the internals
 of Zope. I'm unqualified to go that deep.


  C U!

  -- MV