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

Bug#565646: texlive-pictures: /usr/bin/epspdf(tk) - Permission denied



Hi Hilmar!

Hilmar Preusse wrote:
>> The scripts are missing an executable bit.
>>
> Not sure if it is allowed to have a ex bit on files sitting in
> /usr/share.

Thats fine as long as they have a useful shebang, otherwise lintian will
complain loudly.

> I rather suggest to put these files epspdf.rb and
> epspdftk.rb into /usr/bin, and replace /usr/bin/epspdf(tk) by them.
> Does that work for you?

Executing them somewhere else results in ruby throwing errors:
./epspdf:67:in `require': no such file to load -- epspdfrc (LoadError)
	from ./epspdf:67
I have no real clue of ruby, but I guess it doesn't know where to search for
needed files.

The other option is to call the ruby scripts with ruby in /usr/bin/epspdf(tk) -
instead of trying to execute them.

Cheers,

Bernd

-- 
 Bernd Zeimetz                            Debian GNU/Linux Developer
 http://bzed.de                                http://www.debian.org
 GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
                   ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F



Reply to: