unwanted feature in v7.50: copy preserves EFS-encryption
Moderators: Hacker, petermad, Stefan2, white
unwanted feature in v7.50: copy preserves EFS-encryption
When an EFS-encrypted source file is copied, the destination file gets EFS-encrypted, too. In other words: copy seems to preserve encryption. This is a new feature in v7.50: in 7.04a, the destination file does not get encrypted.
No, this is _not_ a useful feature (imho): if you want to preserve encryption, enable encryption on the destination directory itself.
No, this problem is _not_ theoretic: yesterday
- I copied files from an encrypted directory to a pendrive
- after driving 100+ km, I plugged in the pendrive into another computer and I was very unlucky to be unable to access my files
No, this is _not_ a useful feature (imho): if you want to preserve encryption, enable encryption on the destination directory itself.
No, this problem is _not_ theoretic: yesterday
- I copied files from an encrypted directory to a pendrive
- after driving 100+ km, I plugged in the pendrive into another computer and I was very unlucky to be unable to access my files
- theosdikaios
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
It is discussed here already:
http://ghisler.ch/board/viewtopic.php?t=23805
http://ghisler.ch/board/viewtopic.php?t=23805
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No such option is needed, just turn off the new default copy method.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Maybe we need special help topic for describing such indirect changes for each TC release?Hacker wrote:Christian,That is really not intuitive.No such option is needed, just turn off the new default copy method.
So, for TC 7.50 one of them is that copy preserves NTFS encryption in default copy mode.
That is also not intuitive.MVV wrote:Maybe we need special help topic for describing such indirect changes for each TC release?
So, for TC 7.50 one of them is that copy preserves NTFS encryption in default copy mode.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Oh, yes!!!Hacker wrote:That is also not intuitive.MVV wrote:Maybe we need special help topic for describing such indirect changes for each TC release?
So, for TC 7.50 one of them is that copy preserves NTFS encryption in default copy mode.

I may expand my suggestion: after finishing installation (each or when TC version changes) installer will open totalcmd.chm with this page to let user read more about such non-intuitive things.

- theosdikaios
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
In addition I want to extend the intuitiv behaviour with extra default option for "removable drives". In my cases encryption is wanted on local drives only but not on removable drives. Removable drives are often used for data exchange and/or for backups.
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
- theosdikaios
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
Up.
I want to repeat the suggestion for handling EFS encrypted files.
Target is a removable drive -> "remove" encryption.
Target is a local drive -> keep encryption.
TIA.

Target is a removable drive -> "remove" encryption.
Target is a local drive -> keep encryption.
TIA.
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
There is no parameter for CopyFileEx to remove the encryption, see:
http://msdn.microsoft.com/en-us/library/aa363852%28VS.85%29.aspx
There is just one which tells Windows that the operation will not fail when the destination doesn't support decryption.
So your only choice is to use the old copy method for removable drives. However, this method (ReadFile/WriteFile) is terribly slow with USB sticks...
http://msdn.microsoft.com/en-us/library/aa363852%28VS.85%29.aspx
There is just one which tells Windows that the operation will not fail when the destination doesn't support decryption.
So your only choice is to use the old copy method for removable drives. However, this method (ReadFile/WriteFile) is terribly slow with USB sticks...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- theosdikaios
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
WARNING Against Data Destruction
your only choice is to use the old copy method






I forgot after a copy that this option should be reset to "standard copy method". Therefore it was the non-standard method active. That results in data destruction in the case of copy files with Windows 7 via WLAN at a Linux NAS. Unfortunately the copy action pretends a succesful copy action. An additional check only found this data destruction (there are lot of zero filled areas).
"Since there are many things which have never happened and never will happen,
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
and which nevertheless are clearly conceivable, and imply no contradiction,
how can one say they are absolutely impossible?" Leibniz
- ghisler(Author)
- Site Admin
- Posts: 50937
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
???
The old default copy method uses a simple ReadFile/WriteFile loop, just as if a program like notepad.exe would save data to disk. I don't see why this should cause data corruption. Maybe you used the big file copy mode?
The old default copy method uses a simple ReadFile/WriteFile loop, just as if a program like notepad.exe would save data to disk. I don't see why this should cause data corruption. Maybe you used the big file copy mode?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2theosdikaios
Some might say the opposite - that encryption on removable drives are more important, because they are more likely to be lost or stolen - same thing with stationary PC versus labtop.In my cases encryption is wanted on local drives only but not on removable drives. Removable drives are often used for data exchange and/or for backups
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar