summaryrefslogtreecommitdiff
path: root/source3/utils/net_usershare.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:03:09 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commit41b2af34b166108475de3142de43c7b239b8b18a (patch)
tree025ee3c1d894e9a99f8da4bceaf36db8c46973be /source3/utils/net_usershare.c
parent36eed017301fdb7ab017b8ccaab6a877aa0d8727 (diff)
downloadsamba-41b2af34b166108475de3142de43c7b239b8b18a.tar.gz
samba-41b2af34b166108475de3142de43c7b239b8b18a.tar.bz2
samba-41b2af34b166108475de3142de43c7b239b8b18a.zip
s3: "net_usershare_add" only looks at the mode and uid
Diffstat (limited to 'source3/utils/net_usershare.c')
-rw-r--r--source3/utils/net_usershare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c
index eb7508fe12..b97f5adbdc 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"),