diff --git a/apparmor.d/profiles-s-z/which b/apparmor.d/profiles-s-z/which index 389952d9..1f946afc 100644 --- a/apparmor.d/profiles-s-z/which +++ b/apparmor.d/profiles-s-z/which @@ -33,6 +33,8 @@ profile which @{exec_path} { owner @{HOME}/{.,}go/bin/ r, owner @{user_bin_dirs}/ r, + owner /dev/tty@{int} rw, + deny @{user_share_dirs}/gvfs-metadata/* r, include if exists