diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 13:04:38 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-12-08 09:15:04 +0100 |
commit | e25b699c153cceed9cf900f2ec9440ae946e5ccb (patch) | |
tree | fbcda6a7a6b9b49d54ddba028580f72e2f22f619 /source3/utils | |
parent | 65f8b6f04a8e7002f78f57e3616982dc1966c214 (diff) | |
download | samba-e25b699c153cceed9cf900f2ec9440ae946e5ccb.tar.gz |
s3: "net_usershare_add" only looks at the mode, device and inode
(cherry picked from commit 4cc0045a4ea748299da892ce21283b9ec864053d)
Diffstat (limited to 'source3/utils')
-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 1085796a9e4..7a688c1330b 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -901,7 +901,7 @@ static int net_usershare_add(struct net_context *c, int argc, const char **argv) } /* Check this is the same as the file we opened. */ - if (sys_fstat(tmpfd, &sbuf, lp_fake_dir_create_times()) != 0) { + if (sys_fstat(tmpfd, &sbuf, false) != 0) { d_fprintf(stderr, _("net usershare add: cannot fstat tmp file %s\n"), full_path_tmp ); |