Sync Dirs, Copy file attributes, no permissions - silent failure

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Sync Dirs, Copy file attributes, no permissions - silent failure

Post by *Flint »

0. Prepare two directories for the experiment: they must have a few same-named files, but with different attributes (e.g. on one side the file is read-only, on another it's hidden+system). After that, configure NTFS permissions for one of these directories, so that it was impossible to change file attributes there.
1. Open Sync Dirs dialog for comparing these two directories. Perform the comparing stage.
2. Select the files that have different attributes, right-click and choose "Copy file properties" command in the direction towards the "forbidden" directory.
3. In the auxiliary dialog make sure the "File attributes" checkbox is on; press OK.
4. The attributes, of course, remain uncnahged, but the problem is that TC does not report any error about it. The command is finished silently, without any messages, which leaves the impression that it went OK.

If I change attributes via the normal "Change attributes" dialog, and it fails, TC shows the error, as expected. So I think, Sync Dirs should show the error too.

Tested in TC 9.51 32- and 64-bit; Win7 x64.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Sync Dirs, Copy file attributes, no permissions - silent failure

Post by *ghisler(Author) »

Indeed there is currently no feedback for the function "Copy file attributes", and it's currently not planned.
Author of Total Commander
https://www.ghisler.com
Post Reply