diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 13:04:38 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-11-29 11:22:03 +0100 |
commit | 2f2a156c7348d9911ce26636544303f8d1f15ff0 (patch) | |
tree | 22a0102c4e229cb529343b85844289ac324751b0 /source3/utils | |
parent | 2a7778f7b20b77b82bd4a78609586025ea4a3330 (diff) | |
download | samba-2f2a156c7348d9911ce26636544303f8d1f15ff0.tar.gz samba-2f2a156c7348d9911ce26636544303f8d1f15ff0.tar.bz2 samba-2f2a156c7348d9911ce26636544303f8d1f15ff0.zip |
s3: "net_usershare_add" only looks at the mode, device and inode
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 1085796a9e..7a688c1330 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 ); |