Can't delete subdirs mounted through SMB(it says not empty?)

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
flognat
Junior Member
Junior Member
Posts: 5
Joined: 2003-02-11, 20:05 UTC

Can't delete subdirs mounted through SMB(it says not empty?)

Post by *flognat »

Hello!

As usual enjoying my total commander, but but.. I have one small problem..

When trying to delete [F8 ] a subdir, exported from my linux-machine, mounted on my windows-machine, total commander asks

"The directory j:\tmp\bar is not empty! Dp you want to delete it[...]", when I answer "D" as in Delete on that question, Total says "The directory j:\tmp\bar could not be deleted".

The directory is empty.. ls -a shows no files on linux, deleting it from cmd.exe (rmdir) and explorer works fine.

What can I have missed? What more info do you need :?:

/Andy
User avatar
bago
Member
Member
Posts: 102
Joined: 2003-02-05, 12:18 UTC
Location: Italy
Contact:

Post by *bago »

2flognat
Can you tell us what TC version are you using? :?:
License #55385
User avatar
flognat
Junior Member
Junior Member
Posts: 5
Joined: 2003-02-11, 20:05 UTC

Version 5.50

Post by *flognat »

*bonk* Using version 5.5
/Andy - license #52754
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

2bago
This is a known problem, I've been working on a fix for some time. The problem is that SAMBA drives report themselves as NTFS, but fail with NTFS functions for copying extended file streams (e.g. NTFS comments). So AFTER copying a file from a Samba dir anywhere else, you can no longer delete that dir because its handle is still open!

Solution: Close and re-open Total Commander, then you can delete the dir. Closing TC will close all open handles, also the one to that directory.
Author of Total Commander
https://www.ghisler.com
User avatar
flognat
Junior Member
Junior Member
Posts: 5
Joined: 2003-02-11, 20:05 UTC

Thanx!

Post by *flognat »

OK thanx Ghisler, nice nowing it is not just me, and that it is being worked on!
Post Reply