Comment 6 for bug 439484

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: Firefox 3.5 can't write into /var/www/anything even if "anything"'s owner is me.

Reducing the importance. The profile is an opt-in profile, is disabled by default and the denied access is non-standard. Users who enable the profile are expected to adjust the profile for non-standard usage.

Vladimir, the profile is designed for the average user and not a web developer working out of /var/www. The proper fix for this needs to be carefully considered, and in the meantime I suggest you add to /etc/apparmor.d/usr.bin.firefox-3.5:
  owner /var/www/** rw,

and perform the following:
$ sudo apparmor_parser -r /etc/apparmor.d/usr.bin.firefox-3.5

Please see https://wiki.ubuntu.com/DebuggingApparmor for details. Thanks for the report and please continue to file bugs as you find them.