I have tried to reproduce this with a Windows Vista client - the issue
was first reported with Windows vista.
I have not been able to reproduce the problem.

Vista does cause a slightly different execution path as it attempts to
delete the directory prior to searching for / deleting directory content.
Some previous versions of windows search for and delete directory
content before attempting to delete the directory.
This difference does not seem to be causing a problem for us.
(Note that delete on close is NOT being used for the directory itself,
so that invalidates my previous theory !)

We will try to repeat this test with a Windows 7 client.

Meanwhile, could you please capture the network traffic between the
client and server for a failed delete directory request.
What build of solaris are you using?
Does ls on solaris show any files in the directory which you don't see
from windows?
Are any / all of the files removed from the directory when you attempt
to delete it?

Joyce

Joyce McIntosh wrote:
James White wrote:
FYI Win7 seems to be similarly affected. An XP client is able to create/delete without a problem, Win7 can create but not delete a directory unless it is empty.

I will look into this. There are different ways that a client can delete
a directory and it may be that Vista / Windows 7 use a diffent approach
to XP.
We have a known issue that if a client attempts to set "delete on close"
on a non empty directory we do not return the correct error to the client. Thus the client doesn't request delete of the directory contents. When the "delete on close" operation is actually triggered the delete will silently fail.
It is my GUESS that Vista / Windows7 may have started using this
method to delete the directory.

I am going to try to reproduce your scenario and test out this theory,
meanwhile can you provide the following information:

What Solaris build are you using?
What do you mean by can't delete the directory? Do you get an error
message saying that the delete failed, or does the delete look like it's
successful but the directory and contents are not deleted?

Can you provide:
- detail the steps to reproduce the problem
- a binary network packet capture from the operation

Thanks
Joyce
_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

_______________________________________________
cifs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to