From 591599645263fc95a2b3f0e8dee6eac32a4f7790 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:05:16 +0100 Subject: s3: "net_conf_addshare" only looks at the mode --- source3/utils/net_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c index 736871f215..106a53246d 100644 --- a/source3/utils/net_conf.c +++ b/source3/utils/net_conf.c @@ -654,7 +654,7 @@ static int net_conf_addshare(struct net_context *c, goto done; } - if (sys_stat(path, &sbuf, lp_fake_dir_create_times()) != 0) { + if (sys_stat(path, &sbuf, false) != 0) { d_fprintf(stderr, _("ERROR: cannot stat path '%s' to ensure " "this is a directory.\n" -- cgit