Proposed new Unix POSIX_OPEN/POSIX_UNLINK calls.
Jeremy Allison
jra at samba.org
Thu Mar 1 21:38:46 GMT 2007
On Thu, Mar 01, 2007 at 01:32:33PM -0800, James Peach wrote:
> >#define SMB_POSIX_UNLINK_FILE_TARGET 0
> >#define SMB_POSIX_UNLINK_DIRECTORY_TARGET 1
>
> Sounds fine to me. I assume that if the pathname or file handle does
> not match the requested target you will get an error?
This is a pathname only call, not handle based. Yes,
if the pathname doesn't match the type requested you
get the correct error NT_STATUS_NOT_A_DIRECTORY.
More information about the samba-technical
mailing list