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:
parent
4c74bfcbda
commit
1556b9b53c
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user