Ubuntu : Snap : Skype : DENIED : profile= »snap.skype.skype » name= »/sys/devices/* »

Je viens de voir l’erreur en boucle sur mon Ubuntu :

$ dmesg | grep skype | grep "DENIED" | awk '{print $7 " " $8}' | tail
profile="snap.skype.skype" name="/sys/devices/virtual/net/tap0/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/virbr0/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/virbr0-nic/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/anbox0/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/vmnet1/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/lo/speed"
profile="snap.skype.skype" name="/sys/devices/pci0000:00/0000:00:1d.0/0000:3b:00.1/net/enp59s0f1/speed"
profile="snap.skype.skype" name="/sys/devices/pci0000:00/0000:00:1d.1/0000:40:00.0/net/wlp64s0/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/tap0/speed"
profile="snap.skype.skype" name="/sys/devices/virtual/net/virbr0/speed"

$ snap info skype
name:      skype
summary:   One Skype for all your devices. New features. New look. All Skype.
publisher: Skype✓
store-url: https://snapcraft.io/skype
contact:   https://www.skype.com/
license:   unset
description: |
  Skype keeps the world talking. Say “hello” with an instant message, voice or video call – all for
  free. Skype is available on phones, tablets, PCs, Macs and Linux.
  • Video calls – Don’t just hear the cheers, see it! Get together with 1 or 49 of your friends and
  family on a video call. Watch everyone’s smiles and cries when you tell them “We’re engaged!!!"
  • Chat – Reach people instantly. Send messages to your friends, liven up conversations with
  emoticons and Mojis, or create a group chat to make weekend plans with up to 300 people.
  • Share – Do more together. Easily share your screen, photos, videos, documents, and files with
  your family and friends. Unlike email, Skype will transfer up to 300MB per file.
  • Voice calls – Camera shy? Make voice calls to anyone on Skype. You can also call mobile and
  landlines at low rates.
  Microsoft Services Agreement - https://go.microsoft.com/fwlink/?linkid=2097426
  - skype
snap-id:      QRDEfjn4WJYnm0FzDKwqqRZZI77awQEV
tracking:     latest/stable
refresh-date: 8 days ago, at 11:59 CEST
  latest/stable: 2021-08-12 (183) 145MB -
  latest/candidate:  ↑                                 
  latest/beta:       ↑                                 
  latest/edge:       ↑                                 
  insider/stable: 2021-08-20 (184) 145MB -
  insider/candidate: ↑                                 
  insider/beta:      ↑                                 
  insider/edge:      ↑                                 
installed:             (183) 145MB -

J’ai donc ajouté les droits via l’interface :

On peut le faire en ligne de commande :

$ snap connections | grep skype
audio-playback                                skype:audio-playback                      :audio-playback                                                       -
audio-record                                  skype:audio-record                        :audio-record                                                         -
browser-support                               skype:browser-sandbox                     :browser-support                                                      -
browser-support                               skype:browser-support                     :browser-support                                                      -
camera                                        skype:camera                              :camera                                                               -
content[gnome-3-28-1804]                      skype:gnome-3-28-1804                     gnome-3-28-1804:gnome-3-28-1804                                       -
content[gtk-3-themes]                         skype:gtk-3-themes                        gtk-common-themes:gtk-3-themes                                        -
content[icon-themes]                          skype:icon-themes                         gtk-common-themes:icon-themes                                         -
content[sound-themes]                         skype:sound-themes                        gtk-common-themes:sound-themes                                        -
desktop                                       skype:desktop                             :desktop                                                              -
desktop-legacy                                skype:desktop-legacy                      :desktop-legacy                                                       -
gsettings                                     skype:gsettings                           :gsettings                                                            -
home                                          skype:home                                :home                                                                 -
mount-observe                                 skype:mount-observe                       :mount-observe                                                        manual
network                                       skype:network                             :network                                                              -
network-observe                               skype:network-observe                     :network-observe                                                      manual
opengl                                        skype:opengl                              :opengl                                                               -
password-manager-service                      skype:password-manager-service            :password-manager-service                                             -
screen-inhibit-control                        skype:screen-inhibit-control              :screen-inhibit-control                                               -
unity7                                        skype:unity7                              :unity7                                                               -
wayland                                       skype:wayland                             :wayland                                                              -
x11                                           skype:x11                                 :x11                                                                  -

La clef c’est « skype:network-observe » … il faut donc faire un connect sur la clef.


Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.