The Samba-Bugzilla – Attachment 4793 Details for
Bug 6769
symlink unlink does nothing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am format patch for 3.4.x.
0001-Fix-bug-6769-symlink-unlink-does-nothing.patch (text/plain), 868 bytes, created by
Jeremy Allison
on 2009-10-06 17:53:29 UTC
(
hide
)
Description:
git-am format patch for 3.4.x.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-10-06 17:53:29 UTC
Size:
868 bytes
patch
obsolete
>From 76c3f7bb525b7d32a9d8ccd0d9b66c6eb6e81968 Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Tue, 6 Oct 2009 15:51:49 -0700 >Subject: [PATCH] Fix bug 6769 - symlink unlink does nothing > Jeremy. > >--- > source3/modules/vfs_default.c | 6 +++++- > 1 files changed, 5 insertions(+), 1 deletions(-) > >diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c >index 0a66531..ca401b6 100644 >--- a/source3/modules/vfs_default.c >+++ b/source3/modules/vfs_default.c >@@ -1130,7 +1130,11 @@ static NTSTATUS vfswrap_streaminfo(vfs_handle_struct *handle, > ret = SMB_VFS_FSTAT(fsp, &sbuf); > } > else { >- ret = SMB_VFS_STAT(handle->conn, fname, &sbuf); >+ if (lp_posix_pathnames()) { >+ ret = SMB_VFS_LSTAT(handle->conn, fname, &sbuf); >+ } else { >+ ret = SMB_VFS_STAT(handle->conn, fname, &sbuf); >+ } > } > > if (ret == -1) { >-- >1.5.4.3 >
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
Actions:
View
Attachments on
bug 6769
:
4770
|
4771
|
4772
|
4792
|
4793
|
4796
|
4797
|
4801
|
4802
|
4811
|
4822
|
4823
|
4824
|
4862