Snaps cannot use chown
because they don’t know what kind of users are available and because snapd doesn’t currently model the ability to introduce per-service users. For now it is best to adjust your code to avoid those calls, or, if posisble, to ignore the error.
1 Like