mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
Fix bug #7234 - Symlink delete fails but incorrectly reports success to client.
Typo called LSTAT instead of STAT in the unlink by pathname path. Jeremy.
This commit is contained in:
parent
25d27ff576
commit
367ddc3d1b
@ -2403,7 +2403,7 @@ static NTSTATUS do_unlink(connection_struct *conn,
|
||||
if (posix_paths) {
|
||||
ret = SMB_VFS_LSTAT(conn, smb_fname);
|
||||
} else {
|
||||
ret = SMB_VFS_LSTAT(conn, smb_fname);
|
||||
ret = SMB_VFS_STAT(conn, smb_fname);
|
||||
}
|
||||
if (ret != 0) {
|
||||
return map_nt_error_from_unix(errno);
|
||||
|
Loading…
Reference in New Issue
Block a user