All,

After trying below, my context is now broken.

david-arnolds-macbook-pro:en darnold$ texexec --help
-bash: /usr/texbin/texexec: Permission denied

I need help.

D.

On Sep 22, 2009, at 9:58 PM, David Arnold wrote:

All,

I am using Mactex Texlive 2008 on a Macbook pro.

I did this:

sudo ctxtools --updatecontext


sudo rsync -av rsync://contextgarden.net/minimals/current/context/current/ /usr/local/texlive/2008/texmf-dist/
sudo rsync -av rsync://contextgarden.net/minimals/current/bin/luatex/osx-universal/bin/luatex /usr/local/texlive/2008/bin/
Then I try:
david-arnolds-macbook-pro:~ darnold$ sudo luatools --generate 
And I get:
sudo: luatools: command not found
Then I tried:
david-arnolds-macbook-pro:~ darnold$ luatools --generate 
The result was:
-bash: /usr/texbin/luatools: Permission denied
Trying the context command yields the same result:
david-arnolds-macbook-pro:~ darnold$ context --make 
Result:
-bash: /usr/texbin/context: Permission denied
So, there is some sort of permissions problem.

We looked at this:

david-arnolds-macbook-pro:texbin darnold$ cd /usr/texbin
david-arnolds-macbook-pro:texbin darnold$ ls -l lua*
lrwxr-xr-x  1 root  wheel        6 May 13 17:46 lualatex -> luatex
-rwxr-xr-x  1 root  wheel  8009384 Aug 13  2008 luatex
lrwxr-xr-x  1 root  wheel       49 May 13 17:46 luatools -> ../../texmf-dist/scripts/context/lua/luatools.lua

And tried:

david-arnolds-macbook-pro:texbin darnold$ ls -l ../../texmf-dist/scripts/context/lua/luatools.lua
-rw-r--r--  1 33  33  222585 Aug 14 01:50 ../../texmf-dist/scripts/context/lua/luatools.lua

And see that this file is not executable, so we try:

david-arnolds-macbook-pro:texbin darnold$ sudo chmod +x ../../texmf-dist/scripts/context/lua/luatools.lua

Now the following works.

david-arnolds-macbook-pro:texbin darnold$ luatools --generate

But this piecemeal approach to making things executable might go on and on. Can someone give a more universal cure? Is there an entire directory of scripts that need to be executable?

Thanks.

David

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________