summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:03:09 +0100
committerKarolin Seeger <kseeger@samba.org>2009-12-08 09:15:04 +0100
commitc31115c8b5826dae6a73cfaf0393ec6b684859ad (patch)
tree26c41337e8f499c8763085e89431d4b0f8523fdd /source3/utils
parentfd90d7dbfd3be79696f15200002d2006865ba2da (diff)
downloadsamba-c31115c8b5826dae6a73cfaf0393ec6b684859ad.tar.gz
s3: "net_usershare_add" only looks at the mode and uid
(cherry picked from commit ad2be463bc386128075331b3695655c997e7aea7)
Diffstat (limited to 'source3/utils')
-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 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"),