Scoop-Core icon indicating copy to clipboard operation
Scoop-Core copied to clipboard

`persist_permission` takes a lot of time to complete

Open ZzZombo opened this issue 3 years ago • 1 comments

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 avatar Oct 25 '21 02:10 ZzZombo

Any word on the issue?

ZzZombo avatar May 26 '22 12:05 ZzZombo