[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
making .cache writable for www-data [was: Re: some ideas/feature requests for multiuser sites]
On Mon, Sep 09, 2002 at 07:43:58PM +0200, KORN Andras wrote:
> > > - the .cache directory. It needs to be writable by the user apache runs as
> > > (typically www-data). However, if a non-root user wants to create a gallery,
> > > they have no way of creating a .cache directory that's writable by www-data
> > > (but not world writable). (I know, on some systems you can give files away,
> > > but not on all of them.)
> > Shouldn't you be able to work around this by making a group for A::G
> > users and sticking anyone who wants a gallery in that group along with
> > www-data? Then the cache directories just need to be group writable.
> In theory, this should work, but I believe apache doesn't join the
> supplementary groups the user it setuids to is a member of. I'll try it
I'll be damned. It actually works. Why didn't it occur to me? :) Anyway, it
should probably be documented.
Andrew Korn (Korn Andras) <[email protected]>
Finger [email protected] for pgp key. QOTD:
Fogai körmérkőzést játszottak a bennmaradásért.