Author Topic: unzip into a protected dir  (Read 16414 times)

xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
unzip into a protected dir
« on: March 30, 2016, 13:47:53 »
Hi Mathias!

Some SW I use come in ZIP format and I prefer to copy those into C:\Program Files manually. This is a protected dir requires Administrator Mode active.

If I press Enter on the ZIP file and select all the files, then try to copy to C:\Program Files, nothing happens. If I try to copy only one file, MC asks if I want to activate Administrator Mode and answering Yes allows me to copy. Can you add the same question when multiple files selected and being copied?

Thanks.

xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: unzip into a protected dir
« Reply #1 on: April 15, 2016, 08:29:30 »
Same for v6.

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4490
    • View Profile
    • Multi Commander
Re: unzip into a protected dir
« Reply #2 on: April 15, 2016, 13:30:10 »
Admin Helper mode only fully works for local files. FileSystem Plugins that uses there own internal unpacking can't use the admin helper pipe.
Then open MC in admin mode so entire MC has full admin access.

xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: unzip into a protected dir
« Reply #3 on: April 18, 2016, 21:36:20 »
Just wondering why it works for a single file...

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4490
    • View Profile
    • Multi Commander
Re: unzip into a protected dir
« Reply #4 on: April 18, 2016, 22:10:20 »
Unpacking a single file is done using a stream process from the plugin (Simulating how normal files works), but multiple files are unpack by the filesystem plugin it self, else it would be to slow.
 

xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: unzip into a protected dir
« Reply #5 on: May 05, 2016, 10:02:37 »
OK, that explains. I just find the behavior inconsistent from user point of view (works differently in the two cases).

thanks

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4490
    • View Profile
    • Multi Commander
Re: unzip into a protected dir
« Reply #6 on: May 05, 2016, 10:09:33 »
Correct.. And a fix is planned. but it require a lot of redesign so it is not a quick fix, It require lots of work, so it is far down the list, New features and other changes are more important.