Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where could I get the apparmor profile for latest Skype4? I tried to make my own based on previous skype version but there are too many errors while launching.

share|improve this question

A very late response but here's Apparmor profile skype - Ubuntu 12.04 by NikTh who acknowledged this as the source.

Although it is suggested that:

Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.

In this case, I'm not sure much purpose will be served by pasting details of the profile here but if it is felt helpful I will.

share|improve this answer
# $ sudo aa-genprof /usr/bin/skype
# $ sudo service apparmor restart
# $ sudo aa-enforce skype
# then monitor syslog and add more, if required

# INFO: man 5 apparmor.d
# Access modes:
# r - read
# w - write
# m -- allow PROT_EXEC with mmap()
# l -- link
# k -- lock
# *x -- different ways to execute. Best: ix

#include <tunables/global>

/usr/bin/skype {
  #include <abstractions/audio>
  #include <abstractions/base>
  #include <abstractions/kde>
  #include <abstractions/nameservice>
  #include <abstractions/fonts>
  #include <abstractions/video>
  #include <abstractions/dbus>
  #include <abstractions/nvidia>
  #include <abstractions/X>

  # System
  /proc/sys/kernel/** r,
  @{PROC}/@{pid}/** r,
  /dev/ r,
  /dev/video* rw,

  /sys/devices/system/cpu/ r,
  /sys/devices/system/cpu/** r,

  # Executables
  /usr/bin/skype mr,
  /usr/bin/pulseaudio rmix,

  # Root
  /etc/xdg/Trolltech.conf rk,
  /usr/share/** rk,
  /var/cache/fontconfig/** rwk,

  # Home
  owner @{HOME}/.Skype/ rwk,
  owner @{HOME}/.Skype/** rwk,
  owner @{HOME}/.config/Skype/** rwk,
  owner @{HOME}/.kde/share/config/kioslaverc r,
  owner @{HOME}/.kde{,4}/share/config/kdeglobals rl,

  # Uploads to /tmp/tmp/
  /tmp/tmp/** rwk,
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.