Sometimes Windows keeps a lock on the file when you get a "preview" image in
explorer.  These can even happen with Text.  It especially happens with MP3
files (the preview is a minature media player).  Try setting explorer to
"classic" and see if this problem goes away.

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: "Jason DeStefano" <destef at destef.com>
To: <tclug-list at mn-linux.org>
Sent: Sunday, April 22, 2001 10:44 AM
Subject: Re: [TCLUG] Text file busy?


> type "smbstatus" and see if the file is open. Samba likes to keep
> its grubby hands on files even if they are no longer in use. I use
> samba to map a drive and use a windows text editor to write C
> code. Then i flip over to a telnet session and do the compile. Never
> had the problem you are describing while coding. I have noticed that
> if you delete a file that is open by smb the file will disappear but
> you will not get the drive space freed up. Once smb decides to
> release the file (could be days later) the space is then unallocated
> on the HD. Wierd way to do it in my opionion.
>
> The only time ive ever gotten the text file busy msg is when Im
> running a program (or the system might be running it via cron or
> something) and i try to write over the file with a new one (like
> during a compile).
>
> This prolly isnt much help though.
>
> btw, im using all stock rh7.0 files.
>
> Jason
>
>
> At 01:47 AM 4/22/01 -0500, you wrote:
> >  Hi,
> >
> >Ok, what the HELL.
> >
> >Sometimes, when my wife's accessing a cgi script through samba to edit
it,
> >you can't run it anymore. Trying to run it results in a "Text file busy"
> >error.
> >
> >Even when she quits the editor (verified with xemacs/win32 and homesite),
> >the cgi can STILL not be run. The only way I found to fix it is rename
the
> >CGI and copy it over ot it's old name.
> >
> >Anyone?
> >
> >
> >-Yaron
> >
> >--
> >
> >_______________________________________________
> >tclug-list mailing list
> >tclug-list at mn-linux.org
> >https://mailman.mn-linux.org/mailman/listinfo/tclug-list
> >
>
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>