TC7 RC1 - Access denied when trying to overwrite r/o file

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Jonathan
Junior Member
Junior Member
Posts: 2
Joined: 2003-11-25, 20:22 UTC
Location: Greece

TC7 RC1 - Access denied when trying to overwrite r/o file

Post by *Jonathan »

Hello,

after installing RC1 version whenever I try to copy a file (which exists in a .rar file) that will try to overwrite a read only file in the other pane (a normal directory), I get a dialog box with the following text:

Access denied on file
............
Skip Cancel Rename

Up to TC7 pb4 the normal dialog box appeared with all the options (overwrite, overwrite all, overwrite all older, skip, cancel, rename, etc.)

Has anybody else noticed this behaviour?
I haven't changed any of my settings. Reverted to pb4 and the dialog box returned back to "normal".

J.
Last edited by Jonathan on 2007-03-23, 23:24 UTC, edited 1 time in total.
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Issue confirmed for T.C. 7rc1.

Trying to extract 5 files from a ZIP-archive to a target folder where each file existed and was read-only (nasty me :wink: ), I encountered the issue which Jonathan described when extracting from a RAR-archive:

There was no option to overwrite the read-only files. :(

Tested the same using T.C. 6.56 and T.C 7.0pb4:
Got the option to overwrite all read-only files.

To avoid misunderstandings:

As far as I can tell the problem only occurs provided
+ you extract files from an archive (RAR/ZIP/etc)
+ into a folder where at least 1 of the files exists and
+ this file has got the R/O attribute
+ (Note: hidden/system files will be overwritten).

Copying from folder A to folder B overwriting R/O files and or Hidden/System files in folder B is not a problem. After giving the usual confirmations it will work.

Karl
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirmed as described by karlchen.
The same problem exists with "synchronize dirs" function (trying to overwrite R/O files with files extracted from an archive).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Confirmed here too - as described by karlchen
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, folks.

Thanks for checking Synchronize Dirs, too. :)
Last night, I was simply too tired to remember that Synchronize Dirs even existed. :wink:

Kind regards,
Karl
User avatar
PeaceMaker
Senior Member
Senior Member
Posts: 287
Joined: 2005-12-31, 22:32 UTC
Location: Warsaw, Poland
Contact:

Post by *PeaceMaker »

Totally confirmed... :)
[face=tahoma]LICENSE NUMBER: #101897 Single user license (since: 6th February 2004)
CURRENT VERSION: Total Commander 9.00 beta 12 (released: 31st August 2016)
[/face]
bop sprengers
Junior Member
Junior Member
Posts: 63
Joined: 2006-02-06, 08:51 UTC
Location: antwerp, belgium

Post by *bop sprengers »

On my system I get a "Confirm file replace" dialog.
So it seems to work for me.
Too bad this dialog has no "Overwrite older" option:
this woult speed up the copy process...
Not a TC issue tough, it's WinRAR that's lacking this option !
Bop Sprengers
BS-SOFT
Antwerp, Belgium
info@bs-soft.net
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Bob.

Thanks for your report.

Provided you used T.C. 7.0rc1 and external WinRAR, I think this limits the problem to unpacking using the T.C. internal unpackers, right?

Karl
bop sprengers
Junior Member
Junior Member
Posts: 63
Joined: 2006-02-06, 08:51 UTC
Location: antwerp, belgium

Post by *bop sprengers »

Yes, it's a problem with the internal (un)packer.
Bop Sprengers
BS-SOFT
Antwerp, Belgium
info@bs-soft.net
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

It also affects packer plugins like sqx !
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It's because of this fix:
16.03.07 Fixed: CAB unpack: Didn't detect when target file already existed, but was opened with deny-write rights
I will try to distinguish between the two situations of read-only attribute and deny-write rights. In the first case, overwrite is indeed possible, but not in the second case.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14914
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed in TC7rc2 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks for checking!
Author of Total Commander
https://www.ghisler.com
Post Reply