1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00

Fix DOS del command with widelinks = False.

Jeremy.
(This used to be commit ae754e9355)
This commit is contained in:
Jeremy Allison 2003-03-26 22:15:37 +00:00
parent 4c74bfcbda
commit 1556b9b53c

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) {