Can't delete a folder if visited

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
kaheem
Posts: 27
Joined: Fri 30 Nov, 2018 05:43
Has thanked: 8 times

Can't delete a folder if visited

Post by kaheem »

Hi
It seems like Far puts a hold or handle of folders if the user ever browses that folder and leaves that folder. I am unable to move or delete folders that I opened and left. Is there a way to disable this behavior?
Yegor
Posts: 1407
Joined: Mon 04 Apr, 2005 13:41
Location: San Ramon, CA / Kharkov, UA
Has thanked: 44 times
Been thanked: 68 times

Can't delete a folder if visited

Post by Yegor »

Ideally it would be great if you provider more information, such as the Far Manager version and as well as OS. By default Far does not lock any folders or files.

Please try to run Far with no plugins and macros:

Code: Select all

Far.exe -p -m
and check whether the issue is still there.
Мы не можем ждать милостей от Фара, взять их у него — наша задача! (C) Мичурин
kaheem
Posts: 27
Joined: Fri 30 Nov, 2018 05:43
Has thanked: 8 times

Can't delete a folder if visited

Post by kaheem »

Hi

It is hard to replicate it like that because it doesn't happen always but please see this screenshot, it says Far is using the file it is trying to move. The cmd.exe must be itself to since the file isn't opened by any

Image
Last edited by kaheem on Thu 09 Jan, 2025 17:37, edited 2 times in total.
User avatar
HaRT
Moderator
Posts: 11102
Joined: Tue 30 Aug, 2005 17:21
Has thanked: 239 times
Been thanked: 378 times

Can't delete a folder if visited

Post by HaRT »

kaheem wrote: Thu 09 Jan, 2025 17:30 it says Far is using the file it is trying to move. The cmd.exe must be itself to since the file isn't opened by any
By any chance:
  1. Isn't FAR started from a CMD instance rather than directly?
  2. Isn't the problematic directory the current directory in that CMD?
  3. Wasn't FAR permissions elevation required to enter the directory or to attempt deleting it?
Фар есть инструмент, а не нянька. © 2009 DrKnS
kaheem
Posts: 27
Joined: Fri 30 Nov, 2018 05:43
Has thanked: 8 times

Can't delete a folder if visited

Post by kaheem »

FAR is started from CMD.exe with "far ." So I guess in a way CMD might still think it is in that directory. But when I move the folder in Far, I go one up.

FAR never asked for aan admin perssion in this particular case if I remember right.
Post Reply

Return to “Support and Troubleshooting”