@pparent said in Idea: overlayfs for user terminal:
-Can I interact with files from the host system with tools from the libertine container?
when inside the container you are confined, you can interact with directories shared with the main computer, that means data directories, to the exclusion of configuration of applications external to the container. That may or not be a good thing if the primary concern is the security of hapless users or the liberty of the brave developer (sometimes the 2 types are the same as it is the case for developers caught in supply chain traps
)
(py312) phablet@ubuntu-phablet:~$ cd .config
(py312) phablet@ubuntu-phablet:~/.config$ ls
8192.alaskalinuxuser chromium evolution google-chrome maliit.org music.ubports steps.s60w79 themeswitch.danfro vivaldi
address-book.ubports clock.ubports filemanager.ubports libaccounts-glib messaging-app.ubports notes.ubports sterlingpdf uhome.alaskalinuxuser weather.ubports
BraveSoftware connectivity-service forums-ubports-com.webber lomiri microsoft-edge openstore.openstore-team systemd 'Unknown Organization'
calendar.ubports dconf gallery.ubports Lomiri mirvncserver.abmyii procps telephony-service user-dirs.dirs
camera.ubports dialer-app.ubports glib-2.0 lomiri-ui-toolkit morph-browser pulse terminal.ubports ut-tweak-tool.sverzegnassi
(py312) phablet@ubuntu-phablet:~/.config$ libertine-container-manager exec -i noble -c bash
groups: impossible de trouver le nom pour l'ID de groupe 32011
Je n'ai pas de nom !@ubuntu-phablet:~/.config$ ls
dconf discoverrc okularrc
Je n'ai pas de nom !@ubuntu-phablet:~/.config$
while '.config' exists in the container and in the main system, they are not the same thing (not shared). 'Documents', 'Videos', 'Pictures', are shared. That's typical for flatpak applications - Libertine use the same tool (bwrap).