Open thatLeaflet opened 1 week ago
Snap Maintainer here, I have never heard or saw any use case where access to /dev/shm
is required, nevertheless i will look into this.
Given that this doesn't needs auto-connect its fairly a simple addition to the snap.
My use case: I store movies on a large, slow hard drive. Due to this, it takes a fair amount of time for a movie to be initially loaded and jumping around the timeline may cause freezes. But as I have a lot of RAM, I would like to be able to copy a movie from my slow HDD to my RAM (in /dev/shm) so that the loading is much quicker. And by putting the file directly into RAM, I can avoid unnecessary writes to my SSD.
However, the snap version of celluloid does not have permission to read /dev/shm. This can be remedied by adding the shared-memory plug. If this plug is set to private mode, then it can be autoconnected by default without needing to contact the snap store. See: https://snapcraft.io/docs/shared-memory-interface.