<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: smbmount destroys metadata in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130881#M91941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Indeed, as vi is open you see a .filename.swp file and even a file with a number as name during saving. It's also impossible to get the md5 checksum from the file after you saved it with vi.&lt;BR /&gt;&lt;BR /&gt;Yes, it's vi related and I understand it's not easy for Alfresco to solve this but it's the Alfresco "filesystem" or repository that's partly the cause of this. If you do this on a UNIX filesystem this isn't a problem so it's a little easy to say it's vi's "fault", it's the combination of both.&lt;BR /&gt;&lt;BR /&gt;So, it would be nice if Alfresco could solve this, or if there is way to prevent programs that destroy these files in some way. People use vi, they don't know it destroys the metadata and without knowing everything is gone… forever. Any idea how to prevent this?&lt;BR /&gt;&lt;BR /&gt;Having a file repository that is interface independent is one of Alfresco strongest points but I have the feeling these interfaces are not always as equal as I would like them to be.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's an interesting thought.&amp;nbsp; If there was to be a repository response to this it would have to be a setting – VI does what it does.&amp;nbsp; Alfresco CIFS is a projection of the REPO that is meant to act like a file system.&amp;nbsp; Consider that it is also annoying when you copy a folder from alfresco that you get the executables along with your copy…&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the desire for both behaviors – act like a file system – or act like a repo and control this darn artifact – your not a dumb file system, that's the point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same can be said for handling the annoying metadata files from MSWindows and mac os (.DS_Store)&amp;nbsp; Can I tell alfresco to ignore these things.. send them to dev/null?&amp;nbsp; I'd like to see a setting.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's open source, we're free to fix it if we wish &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; Maybe Gary can chime in here and give us some advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2008 03:27:14 GMT</pubDate>
    <dc:creator>rdanner</dc:creator>
    <dc:date>2008-02-01T03:27:14Z</dc:date>
    <item>
      <title>smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130876#M91936</link>
      <description>Alf,We have a space with versioning applied. Add an HTML document and edit it a few times so that we have a couple versions of this file. No problems so far.Now, open this file with smbmount on UNIX and edit it with vi. Save the file and check the properties in Alfresco, everything is gone: no more</description>
      <pubDate>Fri, 25 Jan 2008 15:36:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130876#M91936</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-01-25T15:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130877#M91937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;*bump*&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 08:38:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130877#M91937</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-01-31T08:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130878#M91938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This sounds like the same problem which can occur when Alfresco is mounted using GNOME-VFS or Mac OS. The issue here is that the OS doesn't simply update the existing file upon a save, but instead creates a new file and deletes the old one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can check if this is what is happening with vi by looking in your Deleted Items list via your user preferences in the Alfresco Web Client - you should see all the old versions of the file there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this is the case then Alfresco is actually doing the correct thing as it has no way of knowing that the metadata should be copied over onto the new node. Getting round it would require some additional logic, or possibly reconfiguring vi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Will.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 12:14:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130878#M91938</guid>
      <dc:creator>wabson</dc:creator>
      <dc:date>2008-01-31T12:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130879#M91939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That is most likely because vi doesn't open the file with a file lock. It opens the file and then creates a completely new file as the working copy. When saving and closing, it is this new file that is kept, and the original is deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So for Alfresco this is a completely new file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other applications like MS Word is actually keeping a file lock, and when you are saving and closing, the edits are merged into the original file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So in order to use vi, try to do a checkout. There still may be a problem as you will loose the association between the original and working copy because of the behavior above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter LÃƒÂ¶fgren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 12:18:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130879#M91939</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2008-01-31T12:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130880#M91940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Indeed, as vi is open you see a .filename.swp file and even a file with a number as name during saving. It's also impossible to get the md5 checksum from the file after you saved it with vi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, it's vi related and I understand it's not easy for Alfresco to solve this but it's the Alfresco "filesystem" or repository that's partly the cause of this. If you do this on a UNIX filesystem this isn't a problem so it's a little easy to say it's vi's "fault", it's the combination of both.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, it would be nice if Alfresco could solve this, or if there is way to prevent programs that destroy these files in some way. People use vi, they don't know it destroys the metadata and without knowing everything is gone… forever. Any idea how to prevent this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Having a file repository that is interface independent is one of Alfresco strongest points but I have the feeling these interfaces are not always as equal as I would like them to be.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2008 14:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130880#M91940</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-01-31T14:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130881#M91941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Indeed, as vi is open you see a .filename.swp file and even a file with a number as name during saving. It's also impossible to get the md5 checksum from the file after you saved it with vi.&lt;BR /&gt;&lt;BR /&gt;Yes, it's vi related and I understand it's not easy for Alfresco to solve this but it's the Alfresco "filesystem" or repository that's partly the cause of this. If you do this on a UNIX filesystem this isn't a problem so it's a little easy to say it's vi's "fault", it's the combination of both.&lt;BR /&gt;&lt;BR /&gt;So, it would be nice if Alfresco could solve this, or if there is way to prevent programs that destroy these files in some way. People use vi, they don't know it destroys the metadata and without knowing everything is gone… forever. Any idea how to prevent this?&lt;BR /&gt;&lt;BR /&gt;Having a file repository that is interface independent is one of Alfresco strongest points but I have the feeling these interfaces are not always as equal as I would like them to be.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's an interesting thought.&amp;nbsp; If there was to be a repository response to this it would have to be a setting – VI does what it does.&amp;nbsp; Alfresco CIFS is a projection of the REPO that is meant to act like a file system.&amp;nbsp; Consider that it is also annoying when you copy a folder from alfresco that you get the executables along with your copy…&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can see the desire for both behaviors – act like a file system – or act like a repo and control this darn artifact – your not a dumb file system, that's the point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same can be said for handling the annoying metadata files from MSWindows and mac os (.DS_Store)&amp;nbsp; Can I tell alfresco to ignore these things.. send them to dev/null?&amp;nbsp; I'd like to see a setting.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's open source, we're free to fix it if we wish &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp; Maybe Gary can chime in here and give us some advice.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 03:27:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130881#M91941</guid>
      <dc:creator>rdanner</dc:creator>
      <dc:date>2008-02-01T03:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130882#M91942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco, any comment on this? Is this something your guys would like to solve in the future or should I try to ban vi out of the company?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 10:10:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130882#M91942</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-02-13T10:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130883#M91943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Answer from Alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Our assumption is that Vi works by creating a temp file for the new edits, then renames it on save. We do deal with this scenario for other applications, so it may be possible to put the same behaviour for Vi. This has to be explicitly programmed for each application. This is the first time that Vi has been requested.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2008 08:51:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130883#M91943</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-02-27T08:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130884#M91944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same problem for gedit…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Apr 2008 08:12:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130884#M91944</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2008-04-21T08:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130885#M91945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is code in the Alfresco filesystem to handle MS Word files as it does a rename shuffle to get the new version of the file in place. This was deliberately coded so it only worked with MS Word files to avoid any side effects with other file save patterns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is coming up with a generic solution that does not cause side effects. I need to do some more research on this with vi and other editors, not sure when I will get around to that with the current work load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gary&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 09:43:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130885#M91945</guid>
      <dc:creator>gary_spencer</dc:creator>
      <dc:date>2008-06-11T09:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: smbmount destroys metadata</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130886#M91946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Garry,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for you answer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this problem needs enough prioritization.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unexpected loss of metadata, versions for a document management system(even without a warning of the loss) is unacceptable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Friendly regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 09:50:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/smbmount-destroys-metadata/m-p/130886#M91946</guid>
      <dc:creator>xerox</dc:creator>
      <dc:date>2008-06-11T09:50:21Z</dc:date>
    </item>
  </channel>
</rss>

