The Samba-Bugzilla – Attachment 6463 Details for
Bug 8133
strange behavior for the file (whose filename first character is period ) in SMB2 case.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 3.6.0
0002-Fix-bug-8133-strange-behavior-for-the-file-whose-fil.patch (text/plain), 1.26 KB, created by
Jeremy Allison
on 2011-05-20 17:58:12 UTC
(
hide
)
Description:
git-am fix for 3.6.0
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-05-20 17:58:12 UTC
Size:
1.26 KB
patch
obsolete
>From 95a55e2feabfae3b0874ae9aa2ce716ca0a9ae39 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 19 May 2011 16:39:18 -0700 >Subject: [PATCH 2/2] Fix bug 8133 - strange behavior for the file (whose filename first character is period ) in SMB2 case. > >When doing SMB2 renames, we need to match all filetypes (no attributes field in the SMB2 call). >By default a file starting with a period is returned as FILE_ATTRIBUTE_HIDDEN in Samba. > >Autobuild-User: Jeremy Allison <jra@samba.org> >Autobuild-Date: Fri May 20 19:26:04 CEST 2011 on sn-devel-104 >--- > source3/smbd/trans2.c | 5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > >diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c >index f5b87c7..cc21b32 100644 >--- a/source3/smbd/trans2.c >+++ b/source3/smbd/trans2.c >@@ -6050,8 +6050,9 @@ static NTSTATUS smb2_file_rename_information(connection_struct *conn, > "SMB_FILE_RENAME_INFORMATION (fnum %d) %s -> %s\n", > fsp->fnum, fsp_str_dbg(fsp), > smb_fname_str_dbg(smb_fname_dst))); >- status = rename_internals_fsp(conn, fsp, smb_fname_dst, 0, >- overwrite); >+ status = rename_internals_fsp(conn, fsp, smb_fname_dst, >+ (FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_SYSTEM), >+ overwrite); > > out: > TALLOC_FREE(smb_fname_dst); >-- >1.7.3.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 8133
:
6462
| 6463