Comment 14 for bug 447292

Revision history for this message
Scott Cowles Jacobs (scott092707) wrote :

Hi.

scott@scott-AsusM2N68-AM-Plus:~$ uname -a
Linux scott-AsusM2N68-AM-Plus 3.0.0-14-generic-tuxonice #23~ppa1-Ubuntu SMP Sun Dec 11 04:53:00 UTC 2011 i686 athlon i386 GNU/Linux

I am using Ubuntu 11.10, and Gnome-Shell, mostly.
I have a number of partitions, with Ubuntu / in one, with /home inside it, but with my personal data in a separate partition named /data, and have used xdg-user-dirs to redefine my actual desktop as "XDG_DESKTOP_DIR="/data/scott/Desktop"",
 and similar definitions for documents, photos, etc.
[It should be noted, perhaps, that I have a symlink created that redefines /tmp as a folder in my /data partition (/data/scott/Tmp), as some programs like back-ups want to put the backup file as it is created in /tmp, and since I have wanted to back up partitions of much greater size than my / linux partition, this didn't work with /tmp there... It just ran out of room and failed...]

I have several times attempted to "Save A Copy" from Evince, after having Firefox Open a .pdf file in the Document Viewer (Evince).
I usually first store stuff in the Desktop, so that it is in my face and I must eventually do something with it.
When I attempt to do so now, I get: "The file could not be saved as “file:///data/scott/Desktop/dummyfile.pdf”.
Failed to create directory '/tmp/evince-2174': Permission denied"
I saved the old /tmp, and it has the same permissions as the new one (both link and actual folder).

In this Bug, or another similar one, it was suggested that one look at the kernal log.
This is what I found:
"Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.678434] type=1400 audit(1326063117.576:21): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/gnashpluginrc" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719244] type=1400 audit(1326063117.616:22): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.bash_history" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719271] type=1400 audit(1326063117.616:23): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.bash_logout" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719293] type=1400 audit(1326063117.616:24): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.bashrc" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719312] type=1400 audit(1326063117.616:25): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.esd_auth" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719332] type=1400 audit(1326063117.616:26): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.gksu.lock" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719369] type=1400 audit(1326063117.616:27): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.gnashpluginrc" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719390] type=1400 audit(1326063117.616:28): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.gtk-bookmarks" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719410] type=1400 audit(1326063117.616:29): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.htoprc" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:51:57 scott-AsusM2N68-AM-Plus kernel: [ 8448.719429] type=1400 audit(1326063117.616:30): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/.ICEauthority" pid=4876 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:52:04 scott-AsusM2N68-AM-Plus kernel: [ 8455.219521] audit_printk_skb: 18 callbacks suppressed
Jan 8 17:52:04 scott-AsusM2N68-AM-Plus kernel: [ 8455.219524] type=1400 audit(1326063124.120:37): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/Desktop/Bookmarks" pid=4879 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:52:04 scott-AsusM2N68-AM-Plus kernel: [ 8455.234424] type=1400 audit(1326063124.136:38): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/Desktop/Janja_Kurtzbewerbung.doc" pid=4879 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:52:04 scott-AsusM2N68-AM-Plus kernel: [ 8455.302397] type=1400 audit(1326063124.204:39): apparmor="DENIED" operation="open" parent=1 profile="/usr/bin/evince" name="/data/scott/Desktop/hbedv.key" pid=4879 comm="evince" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 8 17:52:19 scott-AsusM2N68-AM-Plus kernel: [ 8470.526540] type=1400 audit(1326063139.428:40): apparmor="DENIED" operation="mkdir" parent=1 profile="/usr/bin/evince" name="/data/scott/Tmp/evince-4848/" pid=4864 comm="evince" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
"
Anyway, I can of course just have Firefox save to Desktop itself and then evoke evince, but I shouldn't have to, when "Save-A-Copy" should work...

If anyone can suggest a fix for this, great.

If not, just know that the bug lives on...

-Scott