+[TC850] CopyLinks=2: No FileSystemAttributes and TimeStamps

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

+[TC850] CopyLinks=2: No FileSystemAttributes and TimeStamps

Post by *HolgerK »

- Start TC with the following ini file

Code: Select all

[Configuration]
CopyLinks=2
ShowHiddenSystem=1
CopyDirTimeStamp=1
- Copy "C:\Users\Default" to another Ntfs-drive
- The copy of "Default\" contains all file folders and junctions, but the time stamps of the directory junctions are set to the current date/time and the H and S attributes oft the junctions are not set.

Windows 7 x64, TC8.50final x86 and x64

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Junctions are newly created, timestamps and attributes are not copied. This is by design.
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

This is by design.
That's unfortunate.
These compatibility symbolic directory links are (and should remain) hidden for the normal user.

Edit(btw): Repeat the same with a visible user profile and "ShowHiddenSystem=0" and your copy contains some additional mystical folder links.

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

additional mystical folder links
Can you give me more details, please?
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

All symbolic links inside the userprofile like:

Code: Select all

Application Data\
Cookies\
Local Settings\
My Documents\
NetHood\
PrintHood\
Recent\
SendTo\
Start Menu\
Templates\
(and some additional links like "My Music" deeper in the directory tree) previously hidden for the user in his user profile, are visible inside the copy of the user profile.
In case of "ShowHiddenSystem=0" the user may ask who had added this to his backup-copy.
An administrator who wants to backup and later restore a user profile, has to manually add the hidden and system attribute after he has restored a user profile.
That's what i meant with: this symbolic links should remain hidden for the normal user.

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

But they aren't copied when ShowHiddenSystem=0, so the user only sees them when he has enabled hidden/system anyway...
Author of Total Commander
https://www.ghisler.com
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

They are copied if the visible user profile folder ( in my case "C:\Users\Holger\") is copied.
You are right if i try to enter this folder and select all visible files and folder these hidden links are not selected for copying.
But i' am talking about copying a complete folder which contains hidden symbolic links.

Regards
Holger
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

I agree with HolgerK - all attributes should be copied to the LNK's just as they are when copying a normal DIR.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Dalai
Power Member
Power Member
Posts: 9966
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

petermad wrote:I agree with HolgerK - all attributes should be copied to the LNK's just as they are when copying a normal DIR.
I second that.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
HolgerK
Power Member
Power Member
Posts: 5409
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

Histoy851.txt wrote:26.02.14 Fixed: When copying file system links, also copy the attributes and timestamps (32/64)
I can confirm the fix with 8.51beta1 (x86/x64) / Windows 7 x64 (eng).

Regards
Holger
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Yep, confirmed fixed in TC 8.51b1 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

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