What error code to return when deleting a directory that contains files

Richard Sharpe sharpe at ns.aus.com
Thu Mar 15 23:42:52 GMT 2001


Hi,

I have just noticed what looks like an error with libsmbclient when trying
to delete a remote directory.

If the remote directory still contains files, then it returns EACCES, which
seems incorrect.

However, I am unsure of what error should be returned ... Any suggestions?

Regards
-------
Richard Sharpe, sharpe at ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba






More information about the samba-technical mailing list