Getting this thread back on topic, linking the layers only allows you to perform certain transform operations on the linked layers, such as move, rotate and such. Generally, filters/scripts are not going to respect the chain links and will only work on the targeted layer.
I've tested GC Shadow and it appears to work properly within layer groups.
My testing with layer links did expose a bug in the GC shadow script, as K1 already noted. GC Shadow doesn't take into account an active link, so when it creates a shadow layer and the shadow layer is translated across x/y, the selected layer is translated along with it, because they've become linked. This occurs inside or outside of layer groups.
That is not desirable behavior.
I'll see what I can do to stamp out that bug.
Later...Linked layers bug fixed! Update available on
GIMP ScriptsOn a side note, this script could be modified to apply the selected shadow to all layers or all linked layers.