The home interface


#1

home allows access to non-hidden files in the user’s home ($HOME) directory.

Auto-Connect: yes on classic (traditional distributions), no otherwise
Transitional: yes
Attributes:

  • read (plug):
    optional, when set to ‘all’ allow reading non-hidden files in home directories of all users as traditional file permissions allow.
    When set to ‘all’ this plug becomes non-autoconnect.

Requires snap version 2.33+.

Corresponding source code

snapd/home.go at master · snapcore/snapd

ⓘ This is a snap interface. See Interface management and Supported interfaces for further details on how interfaces are used.


Disabling autoconnections
#2

It seems that setting the read attribute to all will make this interface non-autoconnect.