The system-files interface
system-files provides access to the specified files in the system that are available in the snap’s runtime environment (eg, files in
/etc). This interface gives privileged access to system data.
read(plug): list of files and/or directories for read-only access (eg, ‘
read: [ /etc/file-read, /etc/dir-read ]’
write(plug): list of files and/or directories for read/write access (eg, ‘
write: [ /etc/file-write, /etc/dir-write ]’
Requires snap version 2.37+. Consumers of this interface require a snap declaration for distribution via the Snap Store.
Last updated 8 days ago. Help improve this document in the forum.