Your message dated Tue, 13 May 2008 14:30:22 +0100
with message-id <[EMAIL PROTECTED]>
and subject line viewcvs has been removed from Debian, closing #188893
has caused the Debian Bug report #188893,
regarding too hard to make it setuid
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
188893: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=188893
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: viewcvs
Version: 0.9.2+cvs.1.0.dev.2003.04.08-1 (not installed)
Severity: wishlist

Unfortunatly, subversion's permissions model requires that to even
access the repository, a program must be able to write to it. Since
web servers run as www-data, who should own no files, cgi scripts like
viewcvs do as well. So to make it be able to access the repository,
it needs to be made suid to whatever user and group own the repository.

Of course, that assumes that viewcvs has no security holes, if it does
your subversion repository can still be compromised. An unfortunate
design decision on subversion's part, but I am doing the best that I
can.

So, on my subversion server, /usr/bin/viewcvs.cgi consists of the following
script right now, and the real one is diverted away to
viewcvs.cgi.distrib.

#!/usr/bin/perl -T
# because python cannot be suid
delete $ENV{PATH};
exec("/usr/lib/cgi-bin/viewcvs.cgi.distrib", @ARGV);

A compiled C wrapper would really be better, suid-perl is going away,
and it's silly to have perl call python. Anyway, unless there is some
clearly better method of setting this up that I am not seeing (perhaps
involving apache's suidexec?), it would be useful if
/usr/bin/viewcvs.cgi were some kind of program that could be made suid
by the admin if he needs it to be for his subversion setup.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.20 #1 Fri Apr 11 22:52:20 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

-- 
see shy jo

Attachment: pgpRARP9x2FRE.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.9.2+cvs.1.0.dev.2004.07.28-4.1+rm

The viewcvs package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/460451 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues
http://Marco.Tondela.org


--- End Message ---

Reply via email to