Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
Moderators: Hacker, petermad, Stefan2, white
Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
Operating system like Windows Vista, 7 or higher may be needed to reproduce the issue in easy way as described below.
To reproduce:
1. In targer TC panel, enter some semi-protected folder like %ProgramFiles%, where elevated access is required for writing.
2. In source panel, enter some folder which has subfolders with files inthere.
3. Switch to branch view (Ctrl+B).
4. Select some files which are in mentioned above subfolders.
5. Press F5.
5.1. Check "Keep relative paths (relative to current directory)" option.
6. Start copy process.
7. TC will show a dialog with access denied error ("Error: Cannot read <file name from source>!"), press "As Administrator" or "All as Administrator" there.
Now TC will show another "Access denied on file" dialog with "Skip", "Skip all", "Retry" and "Abort" options. "Retry" doesn't help to copy files, after clicking it "Access denied on file" dialog reappears, so the whole copy operation fails.
To reproduce:
1. In targer TC panel, enter some semi-protected folder like %ProgramFiles%, where elevated access is required for writing.
2. In source panel, enter some folder which has subfolders with files inthere.
3. Switch to branch view (Ctrl+B).
4. Select some files which are in mentioned above subfolders.
5. Press F5.
5.1. Check "Keep relative paths (relative to current directory)" option.
6. Start copy process.
7. TC will show a dialog with access denied error ("Error: Cannot read <file name from source>!"), press "As Administrator" or "All as Administrator" there.
Now TC will show another "Access denied on file" dialog with "Skip", "Skip all", "Retry" and "Abort" options. "Retry" doesn't help to copy files, after clicking it "Access denied on file" dialog reappears, so the whole copy operation fails.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
Sorry, this isn't supported when the relative paths aren't there yet in the target. Try creating them first with F7.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
I tried to create dir with subdirs in F7 after opening %ProgramFiles% in TC on Windows 7 32 bit. I typed:ghisler(Author) wrote: 2020-08-03, 13:41 UTC Sorry, this isn't supported when the relative paths aren't there yet in the target. Try creating them first with F7.
dir\subdir
in F7, and got:
Code: Select all
---------------------------
Total Commander
---------------------------
Error: Directory [dir\subdir]
not created!
---------------------------
OK
---------------------------
dir\
in F7, I get the same error:
Code: Select all
---------------------------
Total Commander
---------------------------
Error: Directory [dir\]
not created!
---------------------------
OK
---------------------------
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
Sorry, in admin only directories you cannot create multiple directories together this way.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
1. I added a separate bugreport for single directory case: viewtopic.php?f=32&t=72590ghisler(Author) wrote: 2020-08-17, 16:26 UTCSorry, in admin only directories you cannot create multiple directories together this way.
2. Total Commander Help doesn't directly mention this limitation, it says:
Even if there are no plans to add "As Administartor" request for multi-level directory creation, I think a note about this should be added to above help text.TC Help, F7: Create directory page wrote:If the creation of the directory fails on Windows XP or newer, you will also be asked whether you want to create the directory "As Administrator".
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Re: Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
Are there plans to make multiple directory creation work in "admin only" folders for TC 10 or future versions?ghisler(Author) wrote: 2020-08-17, 16:26 UTCSorry, in admin only directories you cannot create multiple directories together this way.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Ukraine's National Bank special bank account:
UA843000010000000047330992708
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Branch view, Keep relative paths: copy to semi-protected dirs (with elevated access) fails
No, currently not.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com