Harry: Great, this works for me too! What I did was uncomment the two lines
after "maximum plugin/helper campatibility", and then commented out the
lines below, as in the following snippet.

This also gives a workaround for another bug (that I filed)
https://bugs.launchpad.net/ubuntu/+source/firefox-3.5/+bug/440478 ,
because it then allows the java plugin to be loaded!

============ /etc/apparmor.d/usr.bin.firefox-3.5 snip ==========

  # for maximum plugin/helper compatibility
  /usr/bin/* Uxr,
  /usr/lib/*/** ixr,

  #
  # For stricter access, comment out the 'maximum plugin/helper
compatibility'
  # lines above and uncomment these
  #

  # evince has its own profile, so change to it
  #/usr/bin/evince PUxr,

  # miscellaneous
  #/usr/bin/eog Uxr,
  #/usr/bin/gedit Uxr,
  #/usr/bin/gimp* Uxr,
  #/usr/bin/file-roller Uxr,
  #/usr/bin/ooffice Uxr,
  #/usr/bin/oocalc Uxr,

==================================
On Thu, Oct 22, 2009 at 10:24 PM, Harry Bear <[email protected]> wrote:

> same problem but just with office files .doc .xls .odt and so on. It
> seems that firefox-3.5 apparmor profile just allow call to oowriter,
> oocalc and so on by default while openoffice.org packages associate
> theese document mime types with soffice call.
>
> I got this audit log when the problem occur :
>
> type=APPARMOR_DENIED msg=audit(1256233153.219:51): operation="exec"
> pid=8050 parent=20285 profile="/usr/lib/firefox-3.5.*/firefox"
> requested_mask="::x" denied_mask="::x" fsuid=1000 ouid=0
> name="/usr/lib/openoffice/program/soffice"
>
> Juste added this line to /etc/apparmor.d/usr.bin.firefox-3.5 :
>  /usr/lib/openoffice/program/soffice Uxr,
>
> restarted apparmor and the problem was gone
>
> Maybe a patch to openoffice.org-xxx package for mime association is a
> better solution
>
> --
> "open with application" does not work
> https://bugs.launchpad.net/bugs/454019
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “firefox-3.5” package in Ubuntu: New
>
> Bug description:
> Binary package hint: firefox-3.5
>
> When a .pdf or .doc link is clicked, firefox will ask "what to do with the
> file". the default will be the (correct) default application normally used
> for this kind of file. When I click OK, firefox goes on to download the
> file, but the nothing happens (no error message, no helper application
> opens). I can still choose "save file" and then go and open the file outside
> firefox.
>
> Package version: 3.5.3+build1+nobinonly-0ubuntu4
> Ubuntu version: Kubuntu Karmic, beta, just updated and dist-upgraded.
>
> The bug started happening about a week ago.
>
> Cheers
> Jakob.
>

-- 
"open with application" does not work
https://bugs.launchpad.net/bugs/454019
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to