From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Dec 17 2009 - 00:24:11 CST

Rob,
  I think the easy way to avoid this problem is to both
untar the VMD installation image as root and run the configure/make install
steps as root as well. Otherwise, the directories unpacked by the tar file
will be owned by the user and not be root initially, and the behavior of
the install procedure can thus be affected. I don't want to change the
scripts to automatically chown everything as root, because many VMD users run
the installer as a non-superuser and install into a subdirectory of their
home directory. That said, we could probably avoid this issue with some
more complex logic on the copy/tar operations that are used to create
the installed VMD directories.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Mon, Dec 14, 2009 at 07:13:23PM -0800, Rob wrote:
>
> Hi,
>
> When I install from the precompiled 1.8.7 VMD, I get most
> files installed as root, but some files/directories are installed
> as the regular user, who su'ed into root:
>
> /usr/local/lib/vmd/libcudart.so.2
> /usr/local/lib/vmd/plugins/
> /usr/local/lib/vmd/scripts/
> /usr/local/lib/vmd/shaders/
>
> and everything recursively in these directories are also owned
> by the regular user.
>
> This occurs with
> vmd-1.8.7.bin.LINUXAMD64.opengl.tar.gz
> vmd-1.8.7.bin.LINUX.opengl.tar.gz
>
>
> Is this on purpose, or is this a "slip-of-the-tongue" by the install script?
>
> I usually 'chown' all these files to 'root:root' after install, which does not
> seem to cause any trouble.
>
> Rob.
>
>
>

-- 
NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email: johns_at_ks.uiuc.edu                 Phone: 217-244-3349
  WWW: http://www.ks.uiuc.edu/~johns/      Fax: 217-244-6078