1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

Fix DOS del command with widelinks = False.

Jeremy.
This commit is contained in:
Jeremy Allison -
parent 7787815da4
commit ef1782121b

View File

@ -397,7 +397,8 @@ int reply_chkpth(connection_struct *conn, char *inbuf,char *outbuf, int dum_size
if (check_name(name,conn)) {
if (VALID_STAT(sbuf) || vfs_stat(conn,name,&sbuf) == 0)
ok = S_ISDIR(sbuf.st_mode);
if (!(ok = S_ISDIR(sbuf.st_mode)))
errno = ENOTDIR;
}
if (!ok) {