Again, I am not a Linux expert, but there is nothing in the
instructions here:
http://www.openlaszlo.org/lps4.2/docs/installation/install-instructions.html
that indicates you should be installing or running anything as root.
Certainly running any application as root is a security risk, running
as a normal user less so.
Keep in mind the purpose of the OpenLaszlo server is as a program
development tool. We normally use it only to serve applications to
the local machine or behind a firewall for testing. If you actually
intend to deploy your application, you would eventually compile your
application to a stand-alone version and deploy it on an 'industrial
strength' server (and proxy, if you need it).
On 2009-02-23, at 11:18EST, doug livesey wrote:
So I need to chmod everything under the laszlo install dir to my
standard
user?
Or would that have security implications?
Cheers,
Doug.
2009/2/23 P T Withington <[email protected]>
On 2009-02-23, at 10:51EST, doug livesey wrote:
Ah, I think the problem is related to you running the script as root.
I get permission denied if I try as anything other than root -- the
install
root dir is /usr/local.
I guess I need to chmod some stuff, but I'm not sure what.
I think it's because sudo does not inherit your shell environment:
[...@dueling-banjos ~ 11:03:53]$ echo $JAVA_HOME
/usr/
[...@dueling-banjos ~ 11:04:03]$ sh -c '(echo $JAVA_HOME)'
/usr/
[...@dueling-banjos ~ 11:04:17]$ sudo sh -c '(echo $JAVA_HOME)'
[...@dueling-banjos ~ 11:04:23]$
I'm not a Linux expert, but you should be able to run everything as a
normal user. That's what I do under OS X (which is really just a
Unix under
the covers).