Results 1 to 10 of 33

Thread: Need help || Apparmor Profiles

Threaded View

  1. #1
    Join Date
    Jan 2010
    Location
    India
    Beans
    Hidden!
    Distro
    Lubuntu

    Need help || Apparmor Profiles

    Hi,

    I am using FF ver 5.0.1 from here

    After reading http://ubuntuforums.org/showpost.php...00&postcount=4

    I did
    Code:
    sudo aa-logprof /path to firefox
    Allowed all when asked. But when I try to start FF in enforce mode I get


    Code:
    $ /home/tux/.firefox/firefox
    /home/tux/.firefox/firefox: 60: basename: Permission denied
    exec: 139: /home/tux/.firefox/run-mozilla.sh: Permission denied
    This is the profile

    Code:
    # Last Modified: Sat Jul 30 02:16:27 2011
    #include <tunables/global>
    
    /home/tux/.firefox/firefox flags=(complain) {
      #include <abstractions/apache2-common>
      #include <abstractions/base>
    
    
      deny owner "/home/tux/Desktop/‪Harsha Bhogle on the 1st Test Match between India and England, at Lord's‬‏ - YouTube.flv" w,
    
      /bin/dash ix,
      owner /home/*/.firefox/firefox r,
      owner /home/*/.mozilla/firefox/4w442atz.default/adblockplus/cache.js w,
      owner /home/*/.mozilla/firefox/4w442atz.default/adblockplus/patterns.ini w,
      owner /home/*/.mozilla/firefox/4w442atz.default/adblockplus/patterns.ini-temp rw,
      owner /home/*/.mozilla/firefox/4w442atz.default/places.sqlite-shm k,
      owner /home/*/.mozilla/firefox/4w442atz.default/prefs.js r,
      /proc/meminfo r,
      /usr/bin/dirname rix,
      /usr/share/fonts/** r,
      /usr/share/icons/Humanity/actions/16/document-save-as.svg r,
      /usr/share/icons/Humanity/actions/16/go-home.svg r,
      /usr/share/icons/Humanity/actions/16/go-next.svg r,
      /usr/share/icons/Humanity/actions/16/go-previous.svg r,
    What do I need to change ?
    Last edited by linuxyogi; July 29th, 2011 at 10:10 PM.
    Lubuntu 20.04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •