1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-07 09:49:30 +03:00

s3: "net_usershare_add" only looks at the mode, device and inode

This commit is contained in:
Volker Lendecke
2009-11-27 13:04:38 +01:00
parent 2a7778f7b2
commit 2f2a156c73

View File

@ -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 );