Bug 12282 - Cannot copy file with vfs_catia and colon characters
Cannot copy file with vfs_catia and colon characters
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: VFS Modules
All All
: P5 minor
: ---
Assigned To: Samba QA Contact
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2016-09-20 10:45 UTC by Simon
Modified: 2016-10-13 07:59 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2016-09-20 10:45:21 UTC

I've setup a share with the vfs catia module because I have some colons in the path.

Everything works perfectly but one action : copying from windows explorer. Tried Windows 7 and Server 2008 R2.

When I try I get an error message box saying :

Item not found

Could not find this item

This is no longer located in <path with colons>. Verify the item's location and try again.

All the following works :

* Browsing with windows explorer
* Opening the files from windows explorer
* Renaming the files from windows explorer
* Copying from the cmd with "copy" or "xcopy"
* Copying empty files from windows explorer, most likely because it does not try to open the source, only creating the empty destination.
* Copying from Nautilus

Seems like when windows explorer tries to get the actual content of the file, it does so with an API that no other program uses.

Server is Samba 4.3.9 on Ubuntu 16.04.

        workgroup = MYDOMAIN
        server string = Burp Test Server
        server role = standalone server
        map to guest = Bad User
        obey pam restrictions = Yes
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        dns proxy = No
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        idmap config * : backend = tdb

        path = /var/spool/burp/testserver
        valid users = admin
        create mask = 0700
        directory mask = 0700
        directory mode = 0700
        mangled names = No
        vfs objects = streams_xattr catia
        catia:mappings = 0x3a:0xf7