Results 1 to 4 of 4

Thread: Deleting apparmor profile

  1. #1
    Join Date
    Mar 2008
    Location
    Las Vegas
    Beans
    1,148

    Deleting apparmor profile

    I was editing a profile and now i've got usr.bin.opera~ in my /etc/apparmor.d/ directory. I tried deleting it but it's still being skipped and still there! Aside from disabling profiles how can you actually delete / remove them from the apparmor application???

    Many thanks,
    Barrie
    Debian Stable
    FluxBox
    Mark Your Thread Solved

  2. #2
    Join Date
    Jan 2008
    Location
    USA
    Beans
    971
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Deleting apparmor profile

    Quote Originally Posted by Barriehie View Post
    I was editing a profile and now i've got usr.bin.opera~ in my /etc/apparmor.d/ directory. I tried deleting it but it's still being skipped and still there! Aside from disabling profiles how can you actually delete / remove them from the apparmor application???

    Many thanks,
    Barrie
    The "~" indicates the file is a backup. You just delete it like any other file.

    Code:
    cd /etc/apparmor.d
    
    sudo rm usr.bin.opera~
    Restart AppArmor when done.

  3. #3
    Join Date
    Mar 2008
    Location
    Las Vegas
    Beans
    1,148

    [SOLVED] Re: Deleting apparmor profile

    Thank you rookcifer! I'm pretty sure I tried that but it appears to have worked this time.

    Barrie
    Debian Stable
    FluxBox
    Mark Your Thread Solved

  4. #4
    Join Date
    Aug 2006
    Location
    Somewhere in the hell
    Beans
    294
    Distro
    Ubuntu 12.04 Precise Pangolin

    Lightbulb Re: Deleting apparmor profile

    Quote Originally Posted by Barriehie View Post
    I was editing a profile and now i've got usr.bin.opera~ in my /etc/apparmor.d/ directory. I tried deleting it but it's still being skipped and still there! Aside from disabling profiles how can you actually delete / remove them from the apparmor application???

    Many thanks,
    Barrie

    Try to disable the profile before deleting it.

    https://help.ubuntu.com/community/AppArmor

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
  •