summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-05-13 15:46:35 +0200
committerJeremy Allison <jra@samba.org>2009-05-29 16:57:47 -0700
commit590a3afc8a22658075235b5b5eb30e977999b3a8 (patch)
tree31415648057aa1d14cd86e9cce4c1120e5127dbe
parent2be289c68da3a200dbeda2b8c00e74e4d8318693 (diff)
downloadsamba-590a3afc8a22658075235b5b5eb30e977999b3a8.tar.gz
samba-590a3afc8a22658075235b5b5eb30e977999b3a8.tar.bz2
samba-590a3afc8a22658075235b5b5eb30e977999b3a8.zip
Re-Add the "dropbox" functionality with -wx rights on a directory
-rw-r--r--source3/smbd/filename.c6
1 files 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;
}
/*