App-Armor profile for Skype with XFCE

Al Bogner xfce at ml093.pinguin.uni.cc
Wed Feb 23 22:20:19 CET 2011


I found this app-armor-profile below for skype:

What must be added, that it works with XFCE?

Al


http://www.cynapses.org/tmp/apparmor/usr.bin.skype

# Last Modified: Thu Dec 23 10:49:56 2010
#include <tunables/global>

/usr/bin/skype {
  #include <abstractions/audio>
  #include <abstractions/base>
  #include <abstractions/bash>
  #include <abstractions/kde>
  #include <abstractions/nameservice>
  #include <abstractions/ssl_certs>

  network dgram,
  network stream,

  deny /bin/bash r,
  deny /etc/group m,
  deny /etc/passwd m,
  deny /home/*/ r,
  deny /home/*/.kde4/share/config/ w,
  deny /home/*/.mozilla/ r,
  deny owner /home/*/Documents/ r,
  deny owner /home/*/* w,
  deny /proc/*/net/route r,
  deny /sys/devices/system/cpu/ r,
  deny /usr/bin/dbus-launch x,
  deny /usr/bin/kfmclient x,
  deny /usr/bin/xdg-open x,
  deny /usr/lib64/firefox/firefox.sh x,

  /dev/ r,
  /dev/shm/ r,
  owner /dev/shm/pulse-shm-* mrw,
  /dev/snd/* mrw,
  /dev/video* mrw,
  /etc/X11/fs/config r,
  /etc/kde4/share/config/kdebugrc r,
  /etc/kde4rc r,
  /etc/pulse/client.conf r,
  owner /home/*/.ICEauthority r,
  owner /home/*/.Skype rw,
  owner /home/*/.Skype/ rw,
  owner /home/*/.Skype/** rwk,
  owner /home/*/.Xauthority r,
  owner /home/*/.asoundrc r,
  owner /home/*/.config/Polyester/Style.conf rk,
  owner /home/*/.config/Trolltech.conf rwk,
  owner /home/*/.fontconfig/ w,
  owner /home/*/.fontconfig/* mrw,
  owner /home/*/.fonts.conf r,
  owner /home/*/.fonts/** m,
  owner /home/*/.icons/** r,
  owner /home/*/.kde*/share/config/kdeglobals rk,
  owner /home/*/.kde/share/config/kioslaverc r,
  owner /home/*/.kde4/share/config/kdebugrc r,
  owner /home/*/.pulse-cookie rwk,
  owner /home/*/.pulse/ rw,
  owner /home/*/.qt/* rw,
  /opt/kde3/share/fonts/ r,
  /opt/kde3/share/fonts/** mr,
  owner /proc/*/fd/ r,
  /proc/interrupts r,
  /usr/bin/skype mr,
  /usr/lib/qt4/plugins/iconengines/ r,
  /usr/lib/qt4/plugins/imageformats/ r,
  /usr/lib/qt4/plugins/inputmethods/ r,
  /usr/lib64/jvm/java*/jre/lib/fonts/** mr,
  /usr/share/X11/XKeysymDB r,
  /usr/share/X11/locale/** r,
  /usr/share/desktop-data/qtrc r,
  /usr/share/fonts/ r,
  /usr/share/fonts/** mr,
  /usr/share/ghostscript/fonts/ r,
  /usr/share/ghostscript/fonts/** mr,
  /usr/share/icons/** mrk,
  /usr/share/kde4/config/kdebug.areas r,
  /usr/share/kde4/config/kdebugrc r,
  /usr/share/skype/lang/* mr,
  /usr/share/skype/sound/* r,
  /usr/share/skype/sounds/* rk,
  /usr/share/ssl/ r,
  /usr/share/texmf/fonts/** r,
  /var/lib/dbus/machine-id r,
  owner /var/tmp/kdecache-*/icon-cache.kcache mrw,
  owner /var/tmp/kdecache-*/kpc/kde-icon-cache.data mrw,
  owner /var/tmp/kdecache-*/kpc/kde-icon-cache.index mrw,

}



More information about the Xfce mailing list