[Linux-disciples] Setting user and group rights automatically in vim

Stephen R Laniel linux-disciples@bostoncoop.net
Wed, 29 Oct 2003 14:04:04 -0500


On Wed, Oct 29, 2003 at 10:57:38AM -0800, Adam Kessel wrote:
> Perhaps you don't have perl-suid installed. Because of some limitation in
> the linux kernel, perl can't be suid itself, but needs some sort of
> wrapper to work.

That's good to know. Now I get
/*
[Wed Oct 29 13:59:31 2003] [error] [client 192.168.1.1] Premature end of script headers: /home/slaniel/public_html/cgi-bin/blosxom
Insecure dependency in eval while running setuid at /home/slaniel/public_html/cgi-bin/blosxom line 73, <RC> line 1.
*/

That particular section of blosxom is Debian specific: it loads
/etc/blosxom/blosxom.conf, then loads /etc/blosxom.conf. The code block
reads as follows:

/*
## On Debian GNU/Linux systems, read configuration files (if found)
## Dirk Eddelbuettel <edd@debian.org>
for $rcfile ("/etc/blosxom/blosxom.conf", "/etc/blosxom.conf") {
  if (-r $rcfile) {
    open (RC, "< $rcfile") or die "Cannot open $rcfile: $!";
    while (<RC>) {
      eval("$_");
    }
    close (RC);
  }
}
*/

I presume there's some mismatch on the permissions for
/etc/blosxom/blosxom.conf. Here's what we have:

/*
-rw-r--r--    1 root     root         2490 Oct 27 11:19 /etc/blosxom/blosxom.conf
*/

Does anything seem wrong to you there?

Or maybe I need to set permissions differently on some other files?

Thanks a lot for your help.

Steve

-- 
``By the way, I never got this -- what's with this paper beats rock
  thing, anyway? I understand the scissors cutting the paper. I
  understand the rock blunting the scissors. But so the paper wraps
  around the rock; big whoop-de-doo. Like the rock is going to care.''
 -Eugene Volokh, http://shorl.com/hebiprorivese