[Samba] No Error When Trying To Delete Protected Files WithWindows Explorer

Har Gagan Sahai shargagan at novell.com
Fri Jul 10 07:06:40 GMT 2009


Volker, 

Can you please tell me in which samba version this problem was fixed ? 
I am using 3.0.32 and facing the same problem on the NSS file system. (bug #5841).  

Probably with the change I would be able to see the error in the windows machine. 

Thanks and regards, 
Har Gagan Sahai

>>> Volker Lendecke <Volker.Lendecke at SerNet.DE> 7/8/2009 6:00 PM >>>
On Wed, Jul 08, 2009 at 01:10:32PM +0100, Atkinson, Robert wrote:
> I have a file on a VMS system that I'm accessing using a SAMBA share. When I
> delete the file, the icon disappears from the browser window as if it's been
> deleted.
> 
> On the VMS host, the file is still there, and cannot be deleted because it's
> protected (no delete privilege). If I then press F5 to refresh the Browser
> window, the fie re-appears.
> 
> A trace of the IP packets show that SAMBA is returning an 'Access Denied'
> message, but Windows doesn't seem to see it. Has anyone else come across
> this? Is it a known bug with Windows?

You probably need a recent Samba version, with XP SP2
Windows changed the way to delete a file. Probably you're
seeing the "Access Denied" on the close request, Windows
ignores it there. Recent Samba gives the error message on
the open call preceding that.

Volker


More information about the samba mailing list