tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: open issue of *OWN/*GRP variables and installation to DESTDIR




To: Klaus Heinz <k.heinz%janacht.kh-22.de@localhost>

Subject: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

From: "Julio M. Merino Vidal" <jmerino%ac.upc.edu@localhost>

Date: Wed, 9 Jan 2008 11:37:12 +0100


On 09/01/2008, at 11:32, Klaus Heinz wrote:


Joerg Sonnenberger wrote:


I would do it the very same way for all the user variables. The  question remains if we really need 100 different user variables which  essentially
ends up as the same user in the end.

[...]
Another way to use ownership information is for configuration of the
package (eg, as which user a daemon should run) and this information
gets either put into configuration files (Apache httpd.conf) or
hard-coded into the binary prog
rams (qmail), so this can be done  without
a problem as an unpriviledged user.

So, shouldn't it be sufficient to sweep through pkgsrc and convert all
uses of chown/chmod/chgrp to SPECIAL_PERMS? What am I missing?


Wouldn't that be a maintenance n
ightmare? How do you deal with  packages that call chown et al. from their Makefiles (not the pkgsrc  ones)?

I'm joining this discu
ssion late and I don't know if this has already  been mentioned. But why not have chown/chgrp wrappers that capture  special permissions and automatically add the necessary bits to the  tarballs? (Much like the METALOG used in the base system.)

--
Julio M. Merino Vidal <jmerino%ac.upc.edu@localhost>





Follow-Ups:

Re: open issue of *OWN/*GRP variables and installation to DESTDIR
From: Klaus Heinz


References:

open issue of *OWN/*GRP variables and installation to DESTDIR
From: Klaus Heinz

Re: open issue of *OWN/*GRP variables and installation to DESTDIR
From: Joerg Sonnenberger

Re: open issue of *OWN/*GRP variables and installation to DESTDIR
From: Klaus Heinz




Prev by Date: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Next by Date: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Previous by Thread: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Next by Thread: Re: open issue of *OWN/*GRP variables and installation to DESTDIR

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index