Re-Add the "dropbox" functionality with -wx rights on a directory
authorVolker Lendecke <vl at>
Wed, 13 May 2009 13:46:35 +0000 (15:46 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 5 Jun 2009 08:24:18 +0000 (10:24 +0200)
source/smbd/filename.c

index d404b9028d5f0f4fa560e2c814f720c664f3d4ed..7ff497f5cca5beadf69c426647c711f98ff7b5cc 100644 (file)
@@ -508,12 +508,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;
                                }
 
                                /*