After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 331254 - Incorrect handling of symlinks on NFS shares
Incorrect handling of symlinks on NFS shares
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
0.4.x
Other All
: Normal major
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-15 09:47 UTC by Ed Schofield
Modified: 2010-02-16 09:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Ed Schofield 2006-02-15 09:47:39 UTC
Please describe the problem:
I think I've found a bug with the handling of symlinks on non-local file
systems in Evince 0.4.0.  I have a file:

~/NFS_share/dir/file.ps

and a symlink pointing to it:

~/NFS_share/newfile.ps  -> ~/NFS_share/dir/file.ps

Starting evince with "evince ~/NFS_share/newfile.ps" fails with an error
dialog box:

Unable to open document: Failed to load document
'/tmp/evince-25573/document-10'

I've classified the severity of this bug as 'major' since several bugs may be
involved here.  Nickolay Shmyrev's reply to my original post about this on
evince-list@gnome.org was:

> Thank you really, it seems that you have discovered several bugs at
> once  :)  At least it should load ps document and it should not write user
> about "/tmp/...". But really please file them in our bug tracking system
> http://bugzilla.gnome.org we'll try to solve them.



Steps to reproduce:
(To reproduce, create a symlink and try to load evince as described above)

Actual results:
(see above)

Expected results:
(Evince would follow the symlink correctly)

Does this happen every time?
Yes

Other information:
Incorrect handling of symlinks and temp files can have security implications. 
Is this the case here?
Comment 1 Nickolay V. Shmyrev 2006-02-15 19:19:20 UTC
Actually there are three bugs:

1. critical warnings on empty ps document
2. user should not see tmp files at all
3. NFS symlinks (I suspect it's gnome-vfs problem but may be evince one)
Comment 2 Emmanuel Fleury 2009-11-15 14:38:42 UTC
I couldn't reproduce the problem, can you try again with a newer version of Evince ?
Comment 3 Tobias Mueller 2010-02-16 09:41:53 UTC
Ed, Nickolay, I assume this issue is OBSOLETE by now. If it's not, please reopen.