From: Volker Lendecke Date: Wed, 13 May 2009 13:46:35 +0000 (+0200) Subject: Re-Add the "dropbox" functionality with -wx rights on a directory X-Git-Tag: tdb-1.1.5~390^2~15 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=590a3afc8a22658075235b5b5eb30e977999b3a8 Re-Add the "dropbox" functionality with -wx rights on a directory --- diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index 72b4ab7aa60..bcd8560ad9f 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; } /*