#1790 closed defect (worksforme)
Cups/ghostscript/font-problem - Error: /invalidfileaccess in --.libfile-
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | |
Component: | BOOK | Version: | 6.1 |
Severity: | normal | Keywords: | |
Cc: | ralf@… |
Description ¶
hi buglist,
the execution of
tar -zxvf ../[font-tarball] -C /usr/share/ghostscript && chown -v -R root:root /usr/share/ghostscript/fonts
leaves the font-directory in state "rwx------", which causes a ghostscript/cup error. on subdirs "7.07" and "8.51" its the same
drwxr-xr-x 5 user group 120 Jan 31 07:44 7.07 drwx------ 6 user group 144 Jan 30 23:30 8.51 <---- x drwxr-xr-x 2 user group 4952 Jan 31 08:11 fonts
(x) left unchanged as an example
font-subdirs should be set to "rwxr-xr-x"
regards ralf
D [31/Jan/2006:09:32:32 +0100] [Job 43] Error: /invalidfileaccess in --.libfile- - D [31/Jan/2006:09:32:32 +0100] [Job 43] Operand stack: D [31/Jan/2006:09:32:32 +0100] [Job 43] bigFont Helvetica-Bold Font Helvet ica-Bold 435852 Helvetica-Bold --nostringval-- Helvetica-Bold NimbusSa nL-Bold (NimbusSanL-Bold) NimbusSanL-Bold (/usr/share/ghostscript/fonts/Ni mbusSanL-Bold) D [31/Jan/2006:09:32:32 +0100] [Job 43] Execution stack: D [31/Jan/2006:09:32:32 +0100] [Job 43] %interp_exit .runexec2 --nostringval -- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- - -nostringval-- --nostringval-- false 1 %stopped_push 1 3 %oparray_ pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval-- 2
3 %oparray_pop 3 3 %oparray_pop --nostringval-- --nostringval-- -- nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 6 4 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --n ostringval-- --nostringval-- %array_continue --nostringval-- --nostringv al-- --nostringval-- --nostringval-- %loop_continue --nostringval-- 12
5 %oparray_pop --nostringval-- --nostringval-- --nostringval--
D [31/Jan/2006:09:32:32 +0100] [Job 43] Dictionary stack: D [31/Jan/2006:09:32:32 +0100] [Job 43] --dict:1052/1417(ro)(G)-- --dict:0/20( G)-- --dict:87/200(L)-- --dict:17/17(ro)(G)-- --dict:1052/1417(ro)(G)-- D [31/Jan/2006:09:32:32 +0100] [Job 43] Current allocation mode is local D [31/Jan/2006:09:32:32 +0100] [Job 43] Last OS error: 13 D [31/Jan/2006:09:32:32 +0100] [Job 43] ESP Ghostscript 7.07.1: Unrecoverable er ror, exit code 1
I don't see the issue here. Marking WORKSFORME. Perhaps there is a umask issue with the OP.
Note:
rml@rmlinux: ~/build > ls testdir ls: testdir: No such file or directory
rml@rmlinux: ~/build > mkdir testdir
rml@rmlinux: ~/build > tar xf Installed/espgs-8.15.1-fonts-std-8.11.tar.gz -C testdir rml@rmlinux: ~/build > tar xf Installed/espgs-8.15.1-fonts-other-6.0.tar.gz -C testdir rml@rmlinux: ~/build > ls -ld testdir drwxr-xr-x 3 rml install 4096 Jan 31 09:07 testdir
rml@rmlinux: ~/build > ls -l testdir total 4 drwxr-xr-x 2 rml install 4096 Jan 31 09:07 fonts
rml@rmlinux: ~/build > ls -l /usr/share/ghostscript total 8 drwxr-xr-x 6 root root 4096 Dec 17 14:01 8.15 drwxr-xr-x 2 root root 4096 Dec 18 11:44 fonts