Comment 2 for bug 490230

Revision history for this message
Jamie Strandboge (jdstrand) wrote : Re: cannot create directory from file dialog

Thank you for using Ubuntu and taking the time to report a bug. This path is:
Decoded: /windows/Documents and Settings/Dave/My Documents/test/

AppArmor has denied access to this directory because it is not a standard location for files, therefore you must adjust your profile to allow access to the /windows folder. This can be done by adding the following to /etc/apparmor.d/usr.bin.evince:
  /windows/** rw,

Followed by:
$ sudo apparmor_parser -r -T -W /etc/apparmor.d/usr.bin.evince

Keep in mind that if there is a flaw in evince or (much more likely) one of the image/PDF libraries, opening a malicious file could allow an attacker to write to this directory. See http://en.opensuse.org/AppArmor_Geeks#Anatomy_of_a_Profile for more information on AppArmor profiling.