I am working on an application that needs to be able to read and write to files in the /dev
directory as configured by the user. This can be achieved with the system-files
interface. However, the documentation states the following:
Importantly, this interface should not be used as a means to give access to system files where the snap is not the clear owner (eg, /dev, /proc, /sys, /usr, etc)
I understand that there might be safety concerns but I need this functionality for my application. Is there a different acceptable way to achieve this or are snaps simply not supposed to have this kind of file system access?