From: Vladislav Zavjalov <slazav@altlinux.org>
To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] gv (was: Openoffice & PDF)
Date: Wed, 3 Nov 2010 18:37:12 +0300
Message-ID: <20101103153712.GA12106@imap.altlinux.org> (raw)
In-Reply-To: <20101028220259.GA4036@imap.altlinux.org>
On Fri, Oct 29, 2010 at 02:02:59AM +0400, Vladislav Zavjalov wrote:
> С gv - пока докопался до следующего:
>
> $ > a.txt
> $ echo "(a.txt) (r) file" > a.ps
>
> $ gs -dBATCH -dNODISPLAY a.ps
> GPL Ghostscript 9.00 (2010-09-14)
> Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
>
> $ gs -dBATCH -dNODISPLAY -dSAFER a.ps
> GPL Ghostscript 9.00 (2010-09-14)
> Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Error: /invalidfileaccess in --file--
> Operand stack:
> (a.txt) (r)
> ...
>
> То есть, gs в режиме safer не дает открывать файл на чтение.
> (file) run, например, тоже не работает. Хотя, казалось бы, man gs
> нам говорит:
>
> -dSAFER Disables the "deletefile" and "renamefile" operators
> and the ability to open files in any mode other than read-only.
>
> Соответственно, в качестве временного лечения - помогает отключить
> кнопку Safer в меню "State/Ghostscript options" в gv...
>
> В OO предлагаю тоже поискать, нет ли ругани на invalidfileaccess
> и есть ли -dSAFER. А дальше пусть специалисты по gs скажут :)
Вобщем, на эту тему, я собрал новый gv (3.6.5 -> 3.7.1), и, вроде,
он работает, и местами лучше прежнего. В частности, проблема с safer mode
в gs оказалась какая-то более хитрая (ну или несуществующей) - новый gv,
точно так же все запуская, нормально показывает pdfы.
Так что если уважаемое qa захочет - вот такое задание есть:
http://git.altlinux.org/tasks/31920/task/log.1.1
2010-Nov-03 18:22:01 :: task #31920 for sisyphus started by slazav:
#1 build 3.7.1-alt1 from /people/slazav/packages/gv.git
...
girar-check-perms: access to gv DENIED for slazav: does
not belong to approved builders list: inger @qa
Слава
next prev parent reply other threads:[~2010-11-03 15:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 11:07 [sisyphus] Openoffice & PDF Шенцев Алексей Владимирович
2010-10-27 11:12 ` Vladislav Zavjalov
2010-10-27 11:28 ` Vitaly Kuznetsov
2010-10-28 5:21 ` Vladislav Zavjalov
2010-10-28 6:39 ` Шенцев Алексей Владимирович
2010-10-28 7:32 ` Vitaly Kuznetsov
2010-10-28 7:40 ` Шенцев Алексей Владимирович
2010-10-28 17:28 ` Vitaly Kuznetsov
2010-10-28 22:02 ` Vladislav Zavjalov
2010-10-29 5:29 ` [sisyphus] [JT] " Ildar Mulyukov
2010-11-03 15:37 ` Vladislav Zavjalov [this message]
2010-11-03 15:45 ` [sisyphus] gv (was: Openoffice & PDF) Igor Vlasenko
2010-11-03 16:02 ` Vladislav Zavjalov
2010-10-29 5:59 ` [sisyphus] Openoffice & PDF Шенцев Алексей Владимирович
2010-11-04 11:03 ` Денис Черносов
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101103153712.GA12106@imap.altlinux.org \
--to=slazav@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git