On Fri, 04 Apr 2008 20:48:05 -0700, Bill Beech (NJ7P) wrote
> Has anyone gotten boa to run as root? I get the following error in
> both the buildroot (1588) and OE (252) versions of the code:
> root@...:~$ tail /var/log/boa/error.log
> [05/Apr/2008:03:19:01 +0000] boa.c:227 - icky Linux kernel bug!: Success
> Has anyone gotten a web script to run properly ( as root) with the
> sticky bit set? It appears this is disfunctional in both builds, as
> Has anyone ever succeeded in building a web-interfaced controller
> from a gumstix? I have scripts that work properly, when run as root,
> but will not operate as www-data, which is the boa user.
Running scripts as root is a "bad idea". This is how things get hacked and/or
The issue you are having is one of permissions. You need to look at your
script and see what it is trying to access and then set the 'group'
permissions for those files to the www-data user.
At a pinch, you could set the permissions rwrwrw for the files, but this is
almost as bad from a unix sysadmin point of view.
If you can let the list know what your script is failing on, then one of us
should be able to tell you how to set the permissions correctly.