1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

Fix DOS del command with widelinks = False.

Jeremy.
This commit is contained in:
Jeremy Allison -
parent c6807d2045
commit ae754e9355

View File

@ -401,7 +401,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) {