<?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 Special characters in Filename using CIFS in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/special-characters-in-filename-using-cifs/m-p/195981#M149111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;L.S.,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We mount alfresco using a CIFS mount using following command in fstab:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//localhost/alfresco /mnt/alfresco&amp;nbsp; cifs credentials=/etc/.alfresco,uid=alfresco,gid=alfresco,iocharset=utf8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We now notice some filenames contain '[' or ']'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However valid names in Alfresco the mentioned characters are unfortunately special characters under Linux. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem we have is that we can not "stat" these files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;test[1].txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can be used, renamed from within a windows explorer mount and also from the web interface. This means there is no way we can prevent users from using these characters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But from a Linux CIFS mount we get following result:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp test[2].txt /tmp/a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp: cannot open `test[2].txt' for reading: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All escaping sequences we can think of also give this error (mind the difference in the open and stat of the error output)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp test\[2\].txt /tmp/a &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp: cannot stat `test[2].txt': No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp 'test[2].txt' /tmp/a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp: cannot stat `test[2].txt': No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp 'test\[2\].txt' /tmp/a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp: cannot stat `test\\[2\\].txt': Invalid argument&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp "test\[2\].txt" /tmp/a&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cp: cannot stat `test\\[2\\].txt': Invalid argument&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We use this mount to make a filebased backup of the Alfresco repository using rsync and is therefore very valuable to us. Do we need to use special mount options to prevent this? Or is this a deeper problem in Linux file system access.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Nov 2008 10:18:01 GMT</pubDate>
    <dc:creator>toltech</dc:creator>
    <dc:date>2008-11-08T10:18:01Z</dc:date>
    <item>
      <title>Special characters in Filename using CIFS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/special-characters-in-filename-using-cifs/m-p/195981#M149111</link>
      <description>L.S.,We mount alfresco using a CIFS mount using following command in fstab://localhost/alfresco /mnt/alfresco&amp;nbsp; cifs credentials=/etc/.alfresco,uid=alfresco,gid=alfresco,iocharset=utf8We now notice some filenames contain '[' or ']'. However valid names in Alfresco the mentioned characters are unfortu</description>
      <pubDate>Sat, 08 Nov 2008 10:18:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/special-characters-in-filename-using-cifs/m-p/195981#M149111</guid>
      <dc:creator>toltech</dc:creator>
      <dc:date>2008-11-08T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Special characters in Filename using CIFS</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/special-characters-in-filename-using-cifs/m-p/195982#M149112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Problem solved:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have upgraded from 2.2. to 3.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Robert&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Nov 2008 16:27:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/special-characters-in-filename-using-cifs/m-p/195982#M149112</guid>
      <dc:creator>toltech</dc:creator>
      <dc:date>2008-11-08T16:27:36Z</dc:date>
    </item>
  </channel>
</rss>

