From 41b2af34b166108475de3142de43c7b239b8b18a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 27 Nov 2009 13:03:09 +0100 Subject: s3: "net_usershare_add" only looks at the mode and uid --- source3/utils/net_usershare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index eb7508fe12f..b97f5adbdc6 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -749,7 +749,7 @@ static int net_usershare_add(struct net_context *c, int argc, const char **argv) } /* Check the directory to be shared exists. */ - if (sys_stat(us_path, &sbuf, lp_fake_dir_create_times()) != 0) { + if (sys_stat(us_path, &sbuf, false) != 0) { d_fprintf(stderr, _("net usershare add: cannot stat path %s to ensure " "this is a directory. Error was %s\n"), -- cgit v1.2.1