From 590a3afc8a22658075235b5b5eb30e977999b3a8 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 13 May 2009 15:46:35 +0200 Subject: Re-Add the "dropbox" functionality with -wx rights on a directory --- source3/smbd/filename.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 72b4ab7aa6..bcd8560ad9 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -524,12 +524,12 @@ NTSTATUS unix_convert(TALLOC_CTX *ctx, errno == ELOOP) { result = NT_STATUS_OBJECT_PATH_NOT_FOUND; - } - else { + goto fail; + } else if (errno != EACCES) { result = map_nt_error_from_unix(errno); + goto fail; } - goto fail; } /* -- cgit