Fixed it.

The problem was indeed related apparmor. My home directory is not in
/home and I didn't tell apparmor that. While testing Lucid, my home
directory is in /local/home-10.04, and /home -> /local/home-10.4.
/etc/passwd and HOME specify /home/reece as my home directory.

The fix was to add /local/home-10.04 to
/etc/apparmor.d/tunables/home.d/ubuntu using sudo dpkg-reconfigure
apparmor. With that change, the file is viewable with or without the
suffix and the tty warnings go away.

I stand by the original observation that merely removing the suffix from
the filename causes the observed error. This kind of fragility is
disconcerting. This makes me wonder whether there should be a loud
warning when any home directory is not listed in the apparmor config.
(There were no warnings whatsoever in /var/log/ for the problem related
to this report.)

-- 
evince unable to open PDF file without suffix
https://bugs.launchpad.net/bugs/532956
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in ubuntu.

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

Reply via email to