It was expected that the install hook would fail, that's on purpose (from my testing of another bug).
Additionally, this command when it works does not hang:
``` $ time sha1sum /var/lib/snapd/lib/gl/libGL.so.1 f474a86f17c2c9b31ffd974e92dbcbeb4968863f /var/lib/snapd/lib/gl/libGL.so.1
real 0m0.003s user 0m0.000s sys 0m0.003s ```
and even if that is denied it still doesn't take long:
``` $ time sha1sum /var/lib/snapd/lib/gl/libGL.so.1 sha1sum: /var/lib/snapd/lib/gl/libGL.so.1: Permission denied
real 0m0.001s user 0m0.001s sys 0m0.000s ```
It was expected that the install hook would fail, that's on purpose (from my testing of another bug).
Additionally, this command when it works does not hang:
``` snapd/lib/ gl/libGL. so.1 31ffd974e92dbcb eb4968863f /var/lib/ snapd/lib/ gl/libGL. so.1
$ time sha1sum /var/lib/
f474a86f17c2c9b
real 0m0.003s
user 0m0.000s
sys 0m0.003s
```
and even if that is denied it still doesn't take long:
``` snapd/lib/ gl/libGL. so.1 snapd/lib/ gl/libGL. so.1: Permission denied
$ time sha1sum /var/lib/
sha1sum: /var/lib/
real 0m0.001s
user 0m0.001s
sys 0m0.000s
```