I'm trying to manipulate a squashfs file, containing a yocto build and an application payload, but everytime I do so,
sudo fails to execute afterwards. root user is disabled, so I have no real alternative.
My approach is to just unpack the filesystem and then repackage the unpacked files. In that process the owner is set to my local user (which is fine -- I can fix that) and, it seems, setuid is removed from sudo.