1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3: "net_conf_addshare" only looks at the mode

This commit is contained in:
Volker Lendecke 2009-11-27 13:05:16 +01:00
parent 2f2a156c73
commit 5915996452

View File

@ -654,7 +654,7 @@ static int net_conf_addshare(struct net_context *c,
goto done;
}
if (sys_stat(path, &sbuf, lp_fake_dir_create_times()) != 0) {
if (sys_stat(path, &sbuf, false) != 0) {
d_fprintf(stderr,
_("ERROR: cannot stat path '%s' to ensure "
"this is a directory.\n"