git.samba.org
/
rusty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ba42b0
)
s3: "parse_usershare_file" only looks at the mode and uid
author
Volker Lendecke
<vl@samba.org>
Fri, 27 Nov 2009 11:49:42 +0000
(12:49 +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 f43a11b2de78f04cfd184351b967b4fd7d794631..b07c81b867e9d55b27373ed3b971d5e92b769874 100644
(file)
--- a/
source3/param/loadparm.c
+++ b/
source3/param/loadparm.c
@@
-8550,8
+8550,7
@@
enum usershare_err parse_usershare_file(TALLOC_CTX *ctx,
/* Ensure the owner of the usershare file has permission to share
this directory. */
- if (sys_stat(sharepath, &sbuf,
- lp_fake_dir_create_times()) == -1) {
+ if (sys_stat(sharepath, &sbuf, false) == -1) {
DEBUG(2,("parse_usershare_file: share %s : stat failed on path %s. %s\n",
servicename, sharepath, strerror(errno) ));
sys_closedir(dp);