[NTG-context] Permission Policy

2007-12-28 Thread Hans van der Meer
I ran into trouble with luatools --generate
which does not seem to work with sudo luatools --generate
The seem applies to texmfstart and friends.

Why this manco? I want to keep my system as safe as possible  
especially regarding applications and stuff that takes a lot of time  
installing (like the texlive system).
Therefore I have this in an administrator account (root:wheel).
Cannot ConTeXt cope with such a scheme? All it has to do is honor  
sudo, apparently.

Hans van der Meer



___
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
___


Re: [NTG-context] Permission Policy

2007-12-28 Thread Hans Hagen
Hans van der Meer wrote:
 I ran into trouble with luatools --generate
 which does not seem to work with sudo luatools --generate
 The seem applies to texmfstart and friends.
 
 Why this manco? I want to keep my system as safe as possible  
 especially regarding applications and stuff that takes a lot of time  
 installing (like the texlive system).
 Therefore I have this in an administrator account (root:wheel).
 Cannot ConTeXt cope with such a scheme? All it has to do is honor  
 sudo, apparently.

i'm happily unaware of such problems -)

there is no built in if sudo then quit or so, i.e.\ no assumption is 
made to its usage; i leave this to the unix experts

Hans


-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
  | 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 / 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
___


Re: [NTG-context] Permission Policy

2007-12-28 Thread Aditya Mahajan
On Fri, 28 Dec 2007, Hans van der Meer wrote:

 I ran into trouble with luatools --generate
 which does not seem to work with sudo luatools --generate
 The seem applies to texmfstart and friends.

What error message do you get?

 Why this manco? I want to keep my system as safe as possible
 especially regarding applications and stuff that takes a lot of time
 installing (like the texlive system).
 Therefore I have this in an administrator account (root:wheel).
 Cannot ConTeXt cope with such a scheme? All it has to do is honor
 sudo, apparently.

sudo luatools --generate works here (Ubuntu Linux). AFAIU, luatools 
--generate only reads the relevant files from $TEXMF and writes details to 
$TEXMFCACHE. If all directories in $TEXMF are readable by normal user 
(should be) and $TEXMFCACHE is writable by normal user (should be), then 
you do not even need a sudo.

Aditya
___
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
___