I put the WebKit/webkit init script in my /etc/init.d directory to make WebKit 
start up upon boot (and to be able to control it manually in a less ad-hoc 
fashion than what I had been doing). This is linux (Debian). I modified it to 
run the appserver as a normal user (well, as me, anyway) rather than as root, 
and it starts the appserver in my personal working directory. This is already 
in the script, you just need to uncomment it, and comment-out the default line 
that runs as root (why is this the default? is this a good idea?). The problem 
then is that appserverpid.txt can't be read or written by the Appserver, 
because the webkit script creates it with 600 root permissions; so Appserver 
can't run. The fix is trivial: I added lines to chown appserverpid.txt to the 
user, and everything works. 

I suggest that the Maintainers fix this script (or explain why webware should 
run as root). Unless nobody actually uses this, and there is a better way.



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to