[OS X TeX] How to deal with /var/root/.texlive2007

Maarten Sneep maarten.sneep at xs4all.nl
Mon May 19 04:34:09 EDT 2008

On 19 mei 2008, at 10:29, Bruno Voisin wrote:

> This evoked vaguely a post long ago on this list, telling cd was a  
> shell command instead of a stand-alone executable, implying that  
> sudo has no effect on it. Hence I resorted to launching a new shell  
> with super-user permissions, and then I was able to proceed:
> heo9mc182:var bvoisin$ sudo bash
> bash-3.2# cd /var/root
> bash-3.2#
> Is there a better way to do this, namely to see the content of /var/ 
> root without launching a new shell or without using Directory  
> Utility (in Leopard) to activate the root user?

sudo -s will provide you with a shell with wide ranging permissions.  
Essentially the same as what you just did.

sudo rm -rf /var/root/.texlive2007 might have worked, but I can  
understand why you'd want to avoid that.


More information about the MacOSX-TeX mailing list