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:
parent
7787815da4
commit
ef1782121b
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user