Pc-kernel being refreshed with wrong permissions on core

Hello,
Running beta validation I see that the pc-kernel is being downloaded with incorrect permissions.
The image used is created with ubuntu-image and initially all the snaps have the permissions as expected, the problem starts when a new kernel is downloaded and permissions set as 0644 instead of 0600

See log:

Thanks

2 Likes

The problem is with the delta: we’re not currently chmod’ing the file after rebuilding it from the delta.

1 Like

This should fix the issue:
https://github.com/snapcore/snapd/pull/6063

1 Like