[Samba] Warning about using snaps (ubuntu)

Stefan Kania stefan at kania-online.de
Thu Jul 7 12:04:03 UTC 2022

Am 06.07.22 um 22:10 schrieb samba-ml-en via samba:
> Dear list members,
> I have met yet another issue with Ubuntu and what is considered a standard with Samba.
> Ubuntu is now mainly using snap for many apps. After joining my domain, I realised no snaps could run, and found out that snaps cannot run outside of the /home/$USER directory. Meaning they will NOT run in /home/$DOMAIN/$USER.
> So you have to do the following in smb.conf
> # template homedir = /home/%D/%U
> template homedir = /home/%U
> Otherwise, snaps will not start due to apparmor blocking them, I could not not find a workaround so far.
Normaly it's easy to add olders and files to apparmor I had to do it wit
bind9, sssd and isc-dhcp-server. Just take a look in the log-file,
apparmor will tell you everything you have to do.

> Have a great evening.
> Eric

Stefan Kania
Landweg 13
25693 St. Michaelisdonn

Signieren jeder E-Mail hilft Spam zu reduzieren und schützt Ihre
Privatsphäre. Ein kostenfreies Zertifikat erhalten Sie unter

More information about the samba mailing list