Re: Removing a "busy" text file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2005-01-31 at 18:59 +0000, James Wilkinson wrote:
> Richard S. Crawford wrote:
> > richard@seamus: ~/music/Howard Shore
> > $ rm -rf THELO~1H/
> > rm: cannot remove `THELO~1H//Concerning Hobbits.mp3': Text file busy
> 
> Turns out that this is on a Samba drive.
> 
> For what it's worth, I believe that this is significant. Unix natively
> is quite happy to let you unlink (= remove from the file tree) an open
> file: a number of programs explicitly use this to ensure that their
> temporary files go away when they finish. [1]
> 
> SMB  / CIFS, coming from the DOS / OS/2 / Windows world, doesn't have
> this concept. When a file is open, it's kept busy, and you can't delete
> it.
> 
> It looks like Linux and rm understand this concept for SMB shares. It's
> the approach that causes the fewest problems, but it is still not pure
> Unix.
> 
> James. 

Hi

Could I ask why you're using samba to a RH8 system, rather than nfs?

Laurence


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux