diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 13:03:09 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-29 11:22:03 +0100 |
commit | 41b2af34b166108475de3142de43c7b239b8b18a (patch) | |
tree | 025ee3c1d894e9a99f8da4bceaf36db8c46973be | |
parent | 36eed017301fdb7ab017b8ccaab6a877aa0d8727 (diff) | |
download | samba-41b2af34b166108475de3142de43c7b239b8b18a.tar.gz samba-41b2af34b166108475de3142de43c7b239b8b18a.tar.xz samba-41b2af34b166108475de3142de43c7b239b8b18a.zip |
s3: "net_usershare_add" only looks at the mode and uid
-rw-r--r-- | source3/utils/net_usershare.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"), |