* mtxrun --script fonts --reload: Question to behaviour
@ 2018-10-22 12:25 Tomas Hala
2018-10-22 14:22 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: Tomas Hala @ 2018-10-22 12:25 UTC (permalink / raw)
To: Mailing list ConTeXt
Hi all,
doing some test with fonts I discovered that
mtxrun--script fonts --reload
crashed (line 479, TL 2018) on existing directory if this directory has
incorrect permissions (in tested case I set 000 for making the directory
and its subtree completely invisible).
Is this the expected behaviour?
Best wishes,
Tomáš
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mtxrun --script fonts --reload: Question to behaviour
2018-10-22 12:25 mtxrun --script fonts --reload: Question to behaviour Tomas Hala
@ 2018-10-22 14:22 ` luigi scarso
2018-10-22 14:32 ` Tomas Hala
0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2018-10-22 14:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 410 bytes --]
On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala <tomas.hala@mendelu.cz> wrote:
> Hi all,
>
> doing some test with fonts I discovered that
>
> mtxrun--script fonts --reload
>
> crashed (line 479, TL 2018) on existing directory if this directory has
> incorrect permissions (in tested case I set 000 for making the directory
> and its subtree completely invisible).
>
>
what do you mean with "crashed" ?
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 824 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mtxrun --script fonts --reload: Question to behaviour
2018-10-22 14:22 ` luigi scarso
@ 2018-10-22 14:32 ` Tomas Hala
2018-10-22 14:40 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: Tomas Hala @ 2018-10-22 14:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a):
# On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala <[1]tomas.hala@mendelu.cz>
# wrote:
#
# Hi all,
#
# doing some test with fonts I discovered that
#
# mtxrun--script fonts --reload
#
# crashed (line 479, TL 2018) on existing directory if this directory has
# incorrect permissions (in tested case I set 000 for making the directory
# and its subtree completely invisible).
#
# what do you mean with "crashed" ?
$ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/
$ mtxrun --script fonts --reload
resolvers | trees | analyzing 'home:texmf'
/home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot open /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied
and it stops doing nothing else.
Tomáš
# --
# luigi
#
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mtxrun --script fonts --reload: Question to behaviour
2018-10-22 14:32 ` Tomas Hala
@ 2018-10-22 14:40 ` luigi scarso
2018-10-22 17:16 ` Tomas Hala
0 siblings, 1 reply; 6+ messages in thread
From: luigi scarso @ 2018-10-22 14:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1305 bytes --]
On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <tomas.hala@mendelu.cz> wrote:
> Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a):
> # On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala <[1]tomas.hala@mendelu.cz>
> # wrote:
> #
> # Hi all,
> #
> # doing some test with fonts I discovered that
> #
> # mtxrun--script fonts --reload
> #
> # crashed (line 479, TL 2018) on existing directory if this directory
> has
> # incorrect permissions (in tested case I set 000 for making the
> directory
> # and its subtree completely invisible).
> #
> # what do you mean with "crashed" ?
>
> $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/
> $ mtxrun --script fonts --reload
> resolvers | trees | analyzing 'home:texmf'
> /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot open
> /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied
>
> and it stops doing nothing else.
>
ok, but as far as I can see it's not a crash,
it's just an error like "open file foo" when you have not the right
permissions on foo.
In other words: mtxrun doesn't have the right permissions in that folder
so it' correct that it stops
*and* exits. If it stops and hang forever, of if it stops with a seg.
fault, then it's an error,
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 1952 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mtxrun --script fonts --reload: Question to behaviour
2018-10-22 14:40 ` luigi scarso
@ 2018-10-22 17:16 ` Tomas Hala
2018-10-22 18:00 ` luigi scarso
0 siblings, 1 reply; 6+ messages in thread
From: Tomas Hala @ 2018-10-22 17:16 UTC (permalink / raw)
To: mailing list for ConTeXt users
Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a):
# On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.hala@mendelu.cz>
# wrote:
#
# Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a):
# # On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala
# <[1][2]tomas.hala@mendelu.cz>
# # wrote:
# #
# # Hi all,
# #
# # doing some test with fonts I discovered that
# #
# # mtxrun--script fonts --reload
# #
# # crashed (line 479, TL 2018) on existing directory if this
# directory has
# # incorrect permissions (in tested case I set 000 for making the
# directory
# # and its subtree completely invisible).
# #
# # what do you mean with "crashed" ?
#
# $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/
# $ mtxrun --script fonts --reload
# resolvers | trees | analyzing 'home:texmf'
# /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot open
# /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied
#
# and it stops doing nothing else.
#
# ok, but as far as I can see it's not a crash,
# it's just an error like "open file foo" when you have not the right
# permissions on foo.
# In other words: mtxrun doesn't have the right permissions in that folder
# so it' correct that it stops
# *and* exits. If it stops and hang forever, of if it stops with a seg.
# fault, then it's an error,
# --
# luigi
#
I understand the explanation, thank you. But why it stops? I can imagine the
behaviour with skipping inaccessible directories (eg. with some warning
messages)... Is there any way how to persuade it to continue the work?
Tomáš
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mtxrun --script fonts --reload: Question to behaviour
2018-10-22 17:16 ` Tomas Hala
@ 2018-10-22 18:00 ` luigi scarso
0 siblings, 0 replies; 6+ messages in thread
From: luigi scarso @ 2018-10-22 18:00 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2152 bytes --]
On Mon, Oct 22, 2018 at 7:21 PM Tomas Hala <tomas.hala@mendelu.cz> wrote:
>
> Mon, Oct 22, 2018 ve 04:40:46PM +0200 luigi scarso napsal(a):
> # On Mon, Oct 22, 2018 at 4:32 PM Tomas Hala <[1]tomas.hala@mendelu.cz>
> # wrote:
> #
> # Mon, Oct 22, 2018 ve 04:22:43PM +0200 luigi scarso napsal(a):
> # # On Mon, Oct 22, 2018 at 2:25 PM Tomas Hala
> # <[1][2]tomas.hala@mendelu.cz>
> # # wrote:
> # #
> # # Hi all,
> # #
> # # doing some test with fonts I discovered that
> # #
> # # mtxrun--script fonts --reload
> # #
> # # crashed (line 479, TL 2018) on existing directory if this
> # directory has
> # # incorrect permissions (in tested case I set 000 for making
> the
> # directory
> # # and its subtree completely invisible).
> # #
> # # what do you mean with "crashed" ?
> #
> # $ chmod 000 /home/thala/texmf/fonts/fffctx-fonts-for-testing/
> # $ mtxrun --script fonts --reload
> # resolvers | trees | analyzing 'home:texmf'
> # /home/share/texlive/lastedition/bin/i386-linux/mtxrun:479: cannot
> open
> # /home/thala/texmf/fonts/fffctx-fonts-for-testing/: Permission denied
> #
> # and it stops doing nothing else.
> #
> # ok, but as far as I can see it's not a crash,
> # it's just an error like "open file foo" when you have not the right
> # permissions on foo.
> # In other words: mtxrun doesn't have the right permissions in that
> folder
> # so it' correct that it stops
> # *and* exits. If it stops and hang forever, of if it stops with a seg.
> # fault, then it's an error,
> # --
> # luigi
> #
>
> I understand the explanation, thank you. But why it stops? I can imagine
> the
> behaviour with skipping inaccessible directories (eg. with some warning
> messages)... Is there any way how to persuade it to continue the work?
>
hm, dunno, it's a lua script, perhaps you can hide these errors,
but to me the current behavior is ok, because when I see this error
I know the *I* am doing something wrong that I need to fix.
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 3010 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-10-22 18:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-22 12:25 mtxrun --script fonts --reload: Question to behaviour Tomas Hala
2018-10-22 14:22 ` luigi scarso
2018-10-22 14:32 ` Tomas Hala
2018-10-22 14:40 ` luigi scarso
2018-10-22 17:16 ` Tomas Hala
2018-10-22 18:00 ` luigi scarso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).