[Samba] Re: Samba 2.2.3 - Unable to replace old file on share
Charles.Lee at exeter.ac.uk
Tue Feb 5 06:26:21 GMT 2002
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 text
4) Try to copy the version of monkey.txt that is on the client from the client
to the same location as the monkey.txt on the samba share (ie to overwrite the
one on the share).
What should happen is that that dialog about replacing a file showing the size
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.". Neither
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 a
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
>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 the
>> 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.
More information about the samba