[8rc2] Copying to protected folders As Administrator fails

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
cwahlgren
Junior Member
Junior Member
Posts: 13
Joined: 2011-12-16, 08:48 UTC
Location: Stockholm, Sweden

[8rc2] Copying to protected folders As Administrator fails

Post by *cwahlgren »

Hi,

On my new install of Windows 7 SP1 I can't copy plugins to the "C:\Program Files (x86)\Total Commander" folder. TC gives option All As Administrator, but it still fails. Copying the same files with Ctrl-C Ctrl-V from within TC works (also asks All As Administrator).
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

Not confirmed. It works for me just fine. What error do you see?
Windows 10 Pro x64, Windows 11 Pro x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What's the SOURCE folder? You can't copy to protected folders from, for example, a network share. Why? Network shares are user-specific, so even if you can see it, the admin user can't see it. Solution: First copy the file from the server to some unprotected local directory, and then to program files.
Author of Total Commander
https://www.ghisler.com
cwahlgren
Junior Member
Junior Member
Posts: 13
Joined: 2011-12-16, 08:48 UTC
Location: Stockholm, Sweden

Post by *cwahlgren »

Source folder - you were right there. It works when you copy the files to a local folder first. But the error message says confusingly "Access denied on file X", where X refers to the file on the destination path, not on the source path? Also, how come it works when using Ctrl+C, Ctrl-V (or via Explorer)? I've also tested with the current version 7.56a which behaves the same as 8.0rc2.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Ctrl+C, Ctrl+V uses the Explorer method. I don't know how the Explorer handles this, maybe by copying the file to TEMP first?
Author of Total Commander
https://www.ghisler.com
Post Reply