[Samba] Re: Samba 2.2.3 - Unable to replace old file on share

David Brodbeck DavidB at mail.interclean.com
Tue Feb 5 16:39:43 GMT 2002

I can't reproduce this with a Windows NT4 SP6a client.  It may be
Win2K-specific somehow.  My Samba server is not a PDC, though.

-----Original Message-----
From: Charles Lee [mailto:Charles.Lee at exeter.ac.uk]
Sent: Tuesday, February 05, 2002 8:16 AM
To: samba at lists.samba.org
Cc: jra at samba.org
Subject: [Samba] Re: Samba 2.2.3 - Unable to replace old file on share

This is how I reproduce the problem...

1) Create a text file on the samba share. Lets call it monkey.txt.

2) Copy monkey.txt from the samba share to somewhere on the client (keeping 
the same filename). I just copied it to the desktop.

3) Edit the version of monkey.txt that is now on the client and add some
to it.

4) Try to copy the version of monkey.txt that is on the client from the
to the same location as the monkey.txt on the samba share (ie to overwrite
one on the share).

What should happen is that that dialog about replacing a file showing the
of the old file and the size of the new file should appear. What I get is an

error saying something like "Access denied. The file may be in use.".
of the files are in use and the file on the share can be deleted or moved 
without any error.

I probably should have mentioned that I am running Samba as a PDC.

I hope this helps. Let me know if you can reproduce this and I'll try to get
copy of my smb.conf to you later if that would help more.

Went back to 2.2.2 last night and definatley don't have this problem now.

Thanks very much,

>Date: Mon, 4 Feb 2002 14:33:02 -0800
>To: Charles Lee <Charles.Lee at exeter.ac.uk>
>Cc: samba at lists.samba.org
>Subject: Re: [Samba] Samba 2.2.3 - Unable to replace old file on share with

new file
>From: jra at samba.org (Jeremy Allison)
>On Mon, Feb 04, 2002 at 02:42:18PM +0000, Charles Lee wrote:
>> Though I am unable to supply any logs at present (I'm at work... talked 
>> mate thought testing this at home) I can confirm the problems described
>> earlier by Martin Thomas and Gene Cohler.
>> When trying to replace an old file on a share with a new file of the same

>> an access denied message is displayed. The old file can be deleted from
>> share.
>> Client: Windows 2000 SP2
>> Server: Samba 2.2.3 compiled from CVS last night
>> Server Platform: Intel Hardware, Mandrake 7.2 with custom kernel 2.2.17
>> smb.conf (haven't got it here): ACL support is disabled, using default 
>> permissions on the share that was tested
>Can't reproduce this on my W2K client. Please explain
>*exactly* how you reproduce this.
>	Jeremy.

To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list