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

Adam Kessel linux-disciples@bostoncoop.net
Wed, 29 Oct 2003 10:57:38 -0800


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.

apt-get install perl-suid

On Wed, Oct 29, 2003 at 01:52:45PM -0500, Stephen R Laniel wrote:
> On Wed, Oct 29, 2003 at 10:01:27AM -0800, Adam Kessel wrote:
> > adduser blog
> > adduser slaniel blog
> > chown blog:blog /usr/lib/cgi-bin/blosxom.cgi
> > chmod u+s /usr/lib/cgi-bin/blosxom.cgi
> > chown -R slaniel:blog /home/slaniel/public_html/blosxom
> > chmod g+s /home/slaniel/public_html/blosxom/posts_and_data
> > umask 002
> 
> Having done the above, I'm now getting 500 Internal Server Errors and
> this in my error.log:
> 
> /*
> Can't do setuid
> [Wed Oct 29 13:52:14 2003] [error] [client 216.39.48.42] Premature end of script headers: /home/slaniel/public_html/cgi-bin/blosxom
> */
> 
> Any idea what that's about?
> 
> -- 
> ``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
> 
> _______________________________________________
> Linux-disciples mailing list
> Linux-disciples@bostoncoop.net
> http://bostoncoop.net/mailman/listinfo/linux-disciples

-- 
Adam Kessel
http://bostoncoop.net/adam