David Brodbeck
2002-Feb-05 16:39 UTC
[Samba] Re: Samba 2.2.3 - Unable to replace old file on share
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@exeter.ac.uk] Sent: Tuesday, February 05, 2002 8:16 AM To: samba@lists.samba.org Cc: jra@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 text to it. 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, Charlie>Date: Mon, 4 Feb 2002 14:33:02 -0800 >To: Charles Lee <Charles.Lee@exeter.ac.uk> >Cc: samba@lists.samba.org >Subject: Re: [Samba] Samba 2.2.3 - Unable to replace old file on share withnew file>From: jra@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... talkedflat>> 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 samename>> an access denied message is displayed. The old file can be deleted fromthe>> 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 defaultcreate>> permissions on the share that was tested > >Can't reproduce this on my W2K client. Please explain >*exactly* how you reproduce this. > >Thanks, > > Jeremy. > > >--__--__---- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba