I set the smb.conf as max protocol = SMB2; In this case, the I can't move the file whose filename first character is period (for example, '.hoge.txt') on the samba mounted directory to its subdirectory. Using usual explorer on Windows Vista. (I know that in the Windows, such files (like '.hoge.txt') can not be created by using explorer. However, there are ways to create such files.) For example, the samba mounted directory is \\sambaserver. Then I can't move \\sambaserver\directory1\.hoge.txt to \\sambaserver\directory1\subdirecotry2\.hoge.txt . In other case, (for example, move to local directory or use SMB1, etc.) I can do such. I think x64 or Vista is not the reason. K. Naito
I have reproduced, will post a patch for 3.6.0rc1 shortly. Jeremy.
Created attachment 6462 [details] git-am fix for 3.6.0 This is an optimization, not part of the main fix - but dammit it's such an obvious one that saves an xattr read it'd be a shame not to get it into the code for 3.6.0 final :-). Jeremy.
Created attachment 6463 [details] git-am fix for 3.6.0 This is the actual fix - ensures SMB2 renames pass the correct attr flags to rename_internal_fsp(). Needs to go into 3.6.0 final. Jeremy.
Karolin please pick both patches for 3.6.0. Thanks ! Jeremy.
Pushed to v3-6-test. Closing out bug report. Thanks!