Bug 5667 - Error on delete file
Error on delete file
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: VFS
3.0.28a
x86 Windows XP
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-04 11:33 UTC by SEN
Modified: 2008-08-04 11:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SEN 2008-08-04 11:33:30 UTC
Im create VFS module (convert from Samba 2.2.x to Samba 3.0.28a) in 
2.2.x all work ok.
Client: Windows XP
Server: Ubuntu 8.04
VFS: Level mode as Transparent or Opaque...

Im have a problem:
When Im try delete file in Explorer
if Im not change directory after connect VFS get UNLINK command,
BUT
if I try change folder and try delete from it, VFS cannt get UNLINK 
command...

Volker Lendecke>The problem is that the file is open twice in that smbd. And
Volker Lendecke>until the second handle is closed, the file won't be
Volker Lendecke>deleted.
Why it occurs? I did not open file. I try delete it only(
In logs, all open files have close operation.
And all right, I can see that, if I delete file when new smb session begin, file are deleted correct.

In log level 10 delete command getet by samba from client...
And after this, other operation in Explorer with this opened folder sad 
that "Access Denied"

Volker Lendecke>That's expected. You get a DELETE_PENDING until all handles
Volker Lendecke>are closed.


Is it bug or my config problem? (Global config default for Ubuntu 8.04)