*** This bug is a duplicate of bug 269921 ***
    https://bugs.launchpad.net/bugs/269921

Public bug reported:

Binary package hint: apparmor

I think apparmor is broken in intrepid and allows to read everything.
This causes bug #269921.

I created a profile /etc/apparmor.d/fx5-test:
/home/fx5/cat {
  /lib/** rmix,
  /usr/** rmix,
}

Here is what i did then :
$ cp /bin/cat /home/fx5/cat
$ sudo /etc/init.d/apparmor reload
$ /home/fx5/cat /home/fx5/test.txt 
You should not see this.

Doing the same on my hardy-installation results in:
$ /home/fx5/cat /home/fx5/test.txt 
/home/fx5/cat: /home/fx5/test.txt: Permission denied

** Affects: apparmor (Ubuntu)
     Importance: High
         Status: Invalid

-- 
apparmor does not restrict read-access [intrepid]
https://bugs.launchpad.net/bugs/278619
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to