From: Max Kalika <max@gentoo.org>
To: stuart@gentoo.org, gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Poll: Where should web applications be installed?
Date: Wed, 23 Jul 2003 07:54:23 -0700 [thread overview]
Message-ID: <261493890.1058946863@[192.168.23.5]> (raw)
In-Reply-To: <200307231542.48550.stuart@gentoo.org>
Quoting Stuart Herbert <stuart@gentoo.org>:
>> One question though. Why do all
>> ebuilds currently insist on making files owned by the web user (apache)?
>> Seems very wrong to me as the apache user is able to write to the
>> applications. It seems just like giving ownership to a regular user
>> account for other applications.
>
> Because most web apps are badly written, and rely on write access to
> directories on the machine. Sorry - I just can't think of a polite way
> to put that ;-)
Not all applications. The ones I've been dealing with work perfectly well
having all the files owned by root. I'm speaking of the entire Horde suite
(and not just because I'm on the Horde team ;-)), phpMyAdmin, mailman, etc.
I would really urge to only make the files owned by the web user when
absolutely necessary.
> As an interesting aside, because we run apache under the apache user
> (rather than a nobody user), it'll make the business of supporting
> multiple web servers quite a mess. I mean, if you install tikiwiki,
> which user should own it?!?
I'd say we have to pick a de-facto web server and install all apps based on
that. If a user wants a webserver other than apache, it is really easy to
chown all the files (if that is all that has to be done). And if an
application doesn't require being owned by the web user, things are even
easier. The only thing that has to be done is to do a configuration block
similar to how apache needs it, and that can eventually be worked into that
eclass I posted earlier -- if that is the way we want to go.
> I read your post about having proposed this before, but with no real
> response. Tell you what - if no-one else sends through any feedback, I
> guess no-one would really notice if we went ahead and just did this? ;-)
:-) I'll wait a day or so. If you want to discuss this further, catch me
on irc (alkern).
--mk
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2003-07-23 14:54 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-23 14:12 [gentoo-dev] Poll: Where should web applications be installed? Stuart Herbert
2003-07-23 4:07 ` Alvaro Figueroa Cabezas
2003-07-23 14:29 ` Max Kalika
2003-07-23 14:41 ` Don Seiler
2003-07-23 14:42 ` Stuart Herbert
2003-07-23 14:54 ` Max Kalika [this message]
2003-07-23 4:10 ` Alvaro Figueroa Cabezas
2003-07-23 16:27 ` Max Kalika
2003-07-23 4:30 ` Alvaro Figueroa Cabezas
2003-07-23 17:08 ` Max Kalika
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='261493890.1058946863@[192.168.23.5]' \
--to=max@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=stuart@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox