git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d0eec9
)
s3: "process_usershare_file" only looks at the mode and size
author
Volker Lendecke
<vl@samba.org>
Fri, 27 Nov 2009 11:51:04 +0000
(12:51 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 29 Nov 2009 10:22:02 +0000
(11:22 +0100)
source3/param/loadparm.c
patch
|
blob
|
history
diff --git
a/source3/param/loadparm.c
b/source3/param/loadparm.c
index b07c81b867e9d55b27373ed3b971d5e92b769874..a38deb052b1dd6a814fe72ee1c07f56680e399e2 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-8622,7
+8622,7
@@
static int process_usershare_file(const char *dir_name, const char *file_name, i
/* Minimize the race condition by doing an lstat before we
open and fstat. Ensure this isn't a symlink link. */
- if (sys_lstat(fname, &lsbuf,
lp_fake_dir_create_times()
) != 0) {
+ if (sys_lstat(fname, &lsbuf,
false
) != 0) {
DEBUG(0,("process_usershare_file: stat of %s failed. %s\n",
fname, strerror(errno) ));
SAFE_FREE(fname);