[Samba] Rename to open file doesn't work, why?

Wilhelm Meier wilhelm.meier at fh-kl.de
Fri Jul 25 21:36:19 GMT 2008


this may be a question a thousand times answered but I did not find 
it ...

On a local linux filesystem like ext2/3 one can rename a file to an 
existing, already open file. 

But this doesn't  work on a cifs-mounted samba-share - or do I miss 
something in the samba configuration. Attached ist a small 
test-program that does essentially the same as kmail does when it 
creates a mail-index file (and crashes ...)

Here you can see the versions (from the clients /proc/fs/cifs/):

Display Internal CIFS Data Structures for Debugging
CIFS Version 1.52
Active VFS Requests: 0
1) Name:  Domain: KMUX Mounts: 1 OS: Unix
        NOS: Samba 3.0.24       Capability: 0x80f3fd
        SMB session status: 1   TCP status: 1
        Local Users To Server: 1 SecMode: 0x3 Req On Wire: 0

1) \\\hugo.tester Uses: 1 Type: NTFS DevInfo: 0x0 
Attributes: 0x2b
PathComponentMax: 255 Status: 1 type: 0


More information about the samba mailing list