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:
parent
2f2a156c73
commit
5915996452
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user