ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Carlos via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: Re: registered function call [1160]:...live/2023/texmf-dist/tex/context/base/mkiv/l-sandbox.lua:87: cannot open /.: Permission denied - Alpine Linux
Date: Sun, 26 Mar 2023 15:21:35 +0200	[thread overview]
Message-ID: <83c5b673-824d-30b5-d917-7725ae3c9c39@xs4all.nl> (raw)
In-Reply-To: <20230326130827.yiqju2igt6oxawfp@gmail.com>

On 3/26/2023 3:08 PM, Carlos via ntg-context wrote:
> On Sun, Mar 26, 2023 at 01:04:30PM +0200, Henning Hraban Ramm via ntg-context wrote:
>> Am 25.03.23 um 23:42 schrieb Carlos via ntg-context:
>>
>>>>> fonts           | names | 3092 afm files checked,   okay
>>>>> fonts           | names | identifying tree font files with suffix 'AFM'
>>>>> fonts           | names | scanning path '/home/ce/.texlive2023/texmf-config' for AFM files
>>
>>>>> fonts           | names | variable 'OSFONTDIR' specifies path '/home/ce'
>>>>> fonts           | names | variable 'OSFONTDIR' specifies path '/usr/share/fonts'
>>>>> fonts           | names | globbing path '/home/ce/**.otf'
>>
>> There is something strange here.
>> Is maybe TEXMFHOME set?
>>
>> Since you use a TeX live installation, some other texmfcnf.lua or texmf.cnf
>> might interfere.
>> Look into /usr/local/texlive/2023/
> 
> I'll check again to make sure. But keep in mind this issue predates the official TeX Live installation . I've been using the distro prepackaged for a while. And yes. It's always been there. Sort of like, it came with the system :)
>>
>> Since it scans everything in your home directory, maybe TEXMFHOME or
>> OSFONTDIR is set to ~ (instead ~/texmf) there?
> 
> But even if there was a conflict, it wouldn't justify to be scanninp up everything viciously.

Well, if fonts can be anywhere that means checking for them anywhere. 
TeX installations have some directory setup for a reason. Imagine that 
you set up the installation to include that wildcard path in TEXINPUITS 
then every run that whole tree would get scanned for a file you ask for 
and that is not in the current directory. The whole idea behind TDS and 
defining paths for specific kind of files it to limit lookups.

> So far I've had to move about 7-8 folders. About 6 of them are owned by root, the rest are owned by root but symlinked to user.

I would not do that, instead I'd fix ny OSFONTDIR path. Even with some 
directories moved you still end with plenty useless scanning.

> And to top it off, after doing so, it didn't stop there, heck no, it also wanted to snoop in a folder with cache and headers.
> 
> To be honest. I woudlnt' know what to make of it. If it's simply looking into the permissions of the directories first,  or the fact that it has a colon separated pattern. But. Then again. The other folders didn't have it.
> 
> I'll let you know.
What if you use the regular context installation (not texlive) and see 
what that does? Maybe that gives a clue.

(btw, the official texlive 2023 was tested on windows, linux and osx so 
there must be something special at your end.)

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2023-03-26 13:21 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-25 19:55 Carlos via ntg-context
2023-03-25 20:26 ` Hans Hagen via ntg-context
2023-03-25 20:46   ` Carlos via ntg-context
2023-03-26 23:25   ` Carlos via ntg-context
2023-03-27 13:31   ` Carlos via ntg-context
2023-03-27 13:43     ` Hans Hagen via ntg-context
2023-03-28 17:05       ` Carlos via ntg-context
2023-03-28 22:48         ` Hans Hagen via ntg-context
2023-03-31 11:40           ` Carlos via ntg-context
2023-03-31 14:40             ` Hans Hagen via ntg-context
2023-03-31 20:08               ` Carlos via ntg-context
2023-03-31 20:22                 ` Hans Hagen via ntg-context
2023-04-01 21:21                   ` Carlos via ntg-context
2023-04-02  8:41                     ` Hans Hagen via ntg-context
2023-04-05  9:28                       ` Carlos via ntg-context
2023-03-25 20:45 ` Hans Hagen via ntg-context
2023-03-25 21:36   ` Carlos via ntg-context
2023-03-25 22:09     ` Hans Hagen via ntg-context
2023-03-25 22:42       ` Carlos via ntg-context
2023-03-26 11:04         ` Henning Hraban Ramm via ntg-context
2023-03-26 13:08           ` Carlos via ntg-context
2023-03-26 13:21             ` Hans Hagen via ntg-context [this message]
2023-03-26 19:50               ` Carlos via ntg-context
2023-03-26 23:38           ` Carlos via ntg-context

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=83c5b673-824d-30b5-d917-7725ae3c9c39@xs4all.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@xs4all.nl \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).