Unable to delete files from samba share (Windows XP x64 SP2)

okmanoj at indiatimes.com okmanoj at indiatimes.com
Thu Mar 10 01:11:26 MST 2011

Dear Volker,

I can understand the trouble :(.

Also very Sorry for troubling you more.

I have a general query about samba.

In case of delete, "NT Create AndX Request"
Samba will check if a file can be opened with a share mode (source/smbd/open.c share_conflict() API) 

What is the Importance of this check? and how this API works?

In case of file deletion from Win2k3 SP2 x64  I am getting STATUS_SHARING_VIOLATION error from THIS API.

I am wondering in case of readonly file share () (which can have only document) how much this is useful.

Can i disable this check by any mean? (I understand, this may be this is samba (/RFC) violation).


----- Original Message -----
From: Volker Lendecke <Volker.Lendecke at SerNet.DE>
To: okmanoj at indiatimes.com
Cc: samba <samba-technical at lists.samba.org>
Sent: Tue, 8 Mar 2011 18:00:25 +0530 (IST)
Subject: Re: Unable to delete files from samba share (Windows XP x64 SP2)

On Tue, Mar 08, 2011 at 05:50:04PM +0530, okmanoj at indiatimes.com wrote:
> It will be very helpful, if you can suggest your opinion
> about this issue.
> Also is it Possible to delete all the files always? Since
> this share will never be used for writing any data.
> Is it possible to get any workaround for this issue?

Sorry, I am busy with paying customers at this moment. I
will respond and look at the logs again when I have some
free time. You might want to contact someone from
http://www.samba.org/samba/support for paid support to raise
the priority of the issue.

With best regards,

Volker Lendecke

SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen

More information about the samba-technical mailing list