I did the HOMEDIRS thing, still not working
$ cat /etc/apparmor.d/tunables/home.d/my-homes
# set to parent directory of your user's directories. Eg, if user's dir is
/foo/bar/USER,
# set this to /foo/bar/
@{HOMEDIRS}+=/data/home/
$ sudo service apparmor reload
$ skype
2018/03/24 14:01:56.276095 cmd_run.go:343: WARNING: XAUTHORITY environment
value is not a clean path: "/data/home/georges/.Xauthority"
cannot create user data directory: /data/home/georges/snap/skype/23: Permission
denied
$ sudo tail -2 /var/log/syslog
Mar 24 14:00:13 breeze anacron[30046]: Normal exit (0 jobs run)
Mar 24 14:01:56 breeze kernel: [6636053.148494] audit: type=1400
audit(1521896516.286:6903): apparmor="DENIED" operation="open"
profile="/snap/core/4206/usr/lib/snapd/snap-confine" name="/data/" pid=30123
comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
I would like to add /data/home to
/etc/apparmor.d/snap.core.4206.usr.lib.snapd.snap-confine but it's
uncomprehensible to me.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1758449
Title:
skype snap does not work when home directory is not located in /home
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1758449/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs