mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Ensure we return NT_STATUS_FILE_IS_A_DIRECTORY on a posix open on a
directory name. Jeremy.
This commit is contained in:
parent
e3851a9110
commit
8c39931eb3
@ -6521,7 +6521,7 @@ static NTSTATUS smb_posix_open(connection_struct *conn,
|
||||
(FILE_SHARE_READ | FILE_SHARE_WRITE | /* share_access */
|
||||
FILE_SHARE_DELETE),
|
||||
create_disp, /* create_disposition*/
|
||||
0, /* create_options */
|
||||
FILE_NON_DIRECTORY_FILE, /* create_options */
|
||||
mod_unixmode, /* file_attributes */
|
||||
oplock_request, /* oplock_request */
|
||||
0, /* allocation_size */
|
||||
|
Loading…
x
Reference in New Issue
Block a user