How to allow snap access to "/dev/pts/0" devices

I am trying to run dropbear under snap. I am getting failure:

chown /dev/pts/0 0 0 failed: Operation not permitted

I suspect this is due to snap has no access to /dev/pts/0, since this issue is not reproduced when I don’t use snap.

Is there some kind of snapcraft plug to allow access to /dev/pts/0?

Try using snappy-debug ?? If this is something related to snap confinement and plugs, snappy-debug will surely help you.

1 Like