I noticed problem with 7-zip plugins - it doesn't encrypt files during compression even on user account with Administrator privileges, but it works OK when TC is "run as Administrator".
Details:
Windows 7 64bit PL
TC 7.56 and previous versions
7-zip plugins: 7Zip Plugin 0.7.6.5 (and previous), 0.5.8
Files are compressed without encryption and without any error window/notice!
Workaround:
Give a RWX privileges to folder with TC (eg. C:\Program Files (x86)\totalcmd) to users which run a TC.
7-zip plugins problem with encryption on Windows 7
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
This seems to be a plugin problem - moved to plugins forum.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello, Jacoj.
I cannot reproduce the problem using the following combinations:
+ Total Commander 8.0ß7 64-bit
+ newly compiled and linked 7-zip plugin 0.7.6.5a 64-bit
+ Total Commander 8.0ß7 32-bit
+ newly compiled and linked 7-zip plugin 0.7.6.5a 32-bit
I.e. the archives will be encrypted.
Hm, looking at your explanation about the missing write privileges:
The plugin creates and updates its INI-file inside its 7-zip plugin folder.
As a rule this will be somewhere below the %COMMANDER_PATH%\plugins.
In case %COMMANDER_PATH% is located inside C:\Program Files or C:\Program Files (x86), starting with Vista, the special protection for this folder trees will be activated and prevent any non elevated write access.
So it would be great if the plugin could be persuaded to store its INI file in a different folder like %APPDATA%\Ghisler, side by side with winmd.ini.
Kind regards,
Karl
I cannot reproduce the problem using the following combinations:
+ Total Commander 8.0ß7 64-bit
+ newly compiled and linked 7-zip plugin 0.7.6.5a 64-bit
+ Total Commander 8.0ß7 32-bit
+ newly compiled and linked 7-zip plugin 0.7.6.5a 32-bit
I.e. the archives will be encrypted.
Hm, looking at your explanation about the missing write privileges:
The plugin creates and updates its INI-file inside its 7-zip plugin folder.
As a rule this will be somewhere below the %COMMANDER_PATH%\plugins.
In case %COMMANDER_PATH% is located inside C:\Program Files or C:\Program Files (x86), starting with Vista, the special protection for this folder trees will be activated and prevent any non elevated write access.
So it would be great if the plugin could be persuaded to store its INI file in a different folder like %APPDATA%\Ghisler, side by side with winmd.ini.
Kind regards,
Karl
Karlchen got the point.
7zip.wcx(64) should also support PackSetDefaultParams() function to ask for directory with write access to save the ini file.
7zip.wcx(64) should also support PackSetDefaultParams() function to ask for directory with write access to save the ini file.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more