Jeff Abrahamson on 3 Aug 2004 20:38:03 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] PDF weirdness


Interesting theory, but I tested it with a pdf file in /tmp/.

-J

On Tue, Aug 03, 2004 at 03:24:24PM -0400, George Gallen wrote:
>   [65 lines, 295 words, 1986 characters]  Top characters: -etisano
> 
> Is the directory your in on the same filesystem as /tmp?
> 
> Could gv be creating a file on ., then trying to do a
> mv ./file /tmp/.....  mv will fail if the two filename
> are on different filesystems.
> 
> George
> 
> >-----Original Message-----
> >From: Stephen Gran [mailto:steve@lobefin.net]
> >Sent: Tuesday, August 03, 2004 2:41 PM
> >To: PLUG
> >Subject: Re: [PLUG] PDF weirdness
> >
> >
> >On Tue, Aug 03, 2004 at 11:31:10AM -0400, Jeff Abrahamson said:
> >> Given a file /tmp/foo.pdf, I find, having cd'd into /tmp, that
> >> 
> >>     $ gv foo.pdf            # works fine
> >> 
> >>     $ gv /tmp/foo.pdf       # fails, postscript interpretation error
> >> 
> >> I'm using gv 3.5.8 (debian), debian sarge.
> >> 
> >> Diffing the files, the difference is one line for a file 
> >called stspchap.pdf:
> >> 
> >>   jeff@asterix:tmp $ diff gv_410fad36_1_stspchap.pdf.tmp 
> >gv_410fad1f_1_stspchap.pdf.tmp
> >>   16c16
> >>   < (stspchap.pdf) (r) file { DELAYSAFER { .setsafe } if } 
> >stopped pop
> >>   ---
> >>   > (/tmp/stspchap.pdf) (r) file { DELAYSAFER { .setsafe } 
> >if } stopped pop
> >>   jeff@asterix:tmp $ 
> >> 
> >> Any ideas what's going on?
> >> 
> >> This comes up when viewing pdf's via mozilla or mutt.  (Clearly a
> >> wrapper script could get around this, of course.)
> >
> >I don't know gv or even postscript particularly well, but I do remember
> >seeing discussion about SAFER mode in postscript apps in the Debian BTS
> >recently, let me see . . .
> >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=149987 might 
> >be of some
> >relevance.  Since I am not particularly familiar with the issues, I may
> >have guessed wrong :)
> >
> >HTH,
> >-- 
> > 
> >---------------------------------------------------------------
> >-----------
> >|  Stephen Gran                  | Every young man should have 
> >a hobby:    |
> >|  steve@lobefin.net             | learning how to handle 
> >money is the     |
> >|  http://www.lobefin.net/~steve | best one.   -- Jack Hurley  
> >            |
> > 
> >---------------------------------------------------------------
> >-----------
> >

-- 
 Jeff

 Jeff Abrahamson  <http://www.purple.com/jeff/>    215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

 A cool book of games, highly worth checking out:
 http://www.amazon.com/exec/obidos/ASIN/1931686963/purple-20

Attachment: signature.asc
Description: Digital signature