diff options
Diffstat (limited to 'source/smbd/open.c')
-rw-r--r-- | source/smbd/open.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/smbd/open.c b/source/smbd/open.c index 858a26191f9..f67490b61d3 100644 --- a/source/smbd/open.c +++ b/source/smbd/open.c @@ -771,6 +771,14 @@ flags=0x%X flags2=0x%X mode=0%o returned %d\n", } /* + * If there are any share modes set then the file *did* + * exist. Ensure we return the correct value for action. + */ + + if (num_share_modes > 0) + file_existed = True; + + /* * We exit this block with the share entry *locked*..... */ } |