mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3: "load_usershare_shares" only looks at the mode and uid
This commit is contained in:
parent
5e6031c9c5
commit
e41e21b9d4
@ -8900,8 +8900,7 @@ int load_usershare_shares(void)
|
||||
return lp_numservices();
|
||||
}
|
||||
|
||||
if (sys_stat(usersharepath, &sbuf, lp_fake_dir_create_times())
|
||||
!= 0) {
|
||||
if (sys_stat(usersharepath, &sbuf, false) != 0) {
|
||||
DEBUG(0,("load_usershare_shares: stat of %s failed. %s\n",
|
||||
usersharepath, strerror(errno) ));
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user