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?
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 wholepersist
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 globalpersist
is initialized and certainly not EACH TIME something gets persisted, and maybe just add a diagnostic tocheckup
for this case as well, and leave it at that?