The Samba-Bugzilla – Attachment 4219 Details for
Bug 6365
Dropbox file serving
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Additional change.
look (text/plain), 872 bytes, created by
Jeremy Allison
on 2009-05-29 19:35:11 UTC
(
hide
)
Description:
Additional change.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-05-29 19:35:11 UTC
Size:
872 bytes
patch
obsolete
>diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c >index bcd8560..5885a4b 100644 >--- a/source3/smbd/filename.c >+++ b/source3/smbd/filename.c >@@ -513,8 +513,8 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx, > goto fail; > } > >- /* ENOENT is the only valid error here. */ >- if ((errno != 0) && (errno != ENOENT)) { >+ /* ENOENT/EACCESS are the only valid errors here. */ >+ if ((errno != 0) && (errno != ENOENT) && (errno != EACCES)) { > /* > * ENOTDIR and ELOOP both map to > * NT_STATUS_OBJECT_PATH_NOT_FOUND >@@ -524,12 +524,11 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx, > errno == ELOOP) { > result = > NT_STATUS_OBJECT_PATH_NOT_FOUND; >- goto fail; >- } else if (errno != EACCES) { >+ } else { > result = > map_nt_error_from_unix(errno); >- goto fail; > } >+ goto fail; > } > > /*
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 6365
: 4219 |
4220