Ash258 / Scoop-Core

Shovel. Alternative, more advanced, and user-friendly implementation of windows command-line installer scoop.
https://shovel.ash258.com
GNU General Public License v3.0
208 stars 11 forks source link

`persist_permission` takes a lot of time to complete #213

Open ZzZombo opened 3 years ago

ZzZombo commented 3 years ago

I use global installations, and just now figured why does persistent data cause "scoop"/"shovel" to get stuck after persisting the last entry in a manifest. The function persist_permission literally causes PowerShell to walk down the whole persist folder setting the ACL, and it's no small feat with how big it is. Frankly I don't see the point of it TBH. Why can't it be done just once, when the global persist is initialized and certainly not EACH TIME something gets persisted, and maybe just add a diagnostic to checkup for this case as well, and leave it at that?

ZzZombo commented 2 years ago

Any word on the issue?