On Sun, Apr 14, 2002 at 03:11:00PM -0700, Rob McMillin wrote: > >No. That is an awful idea. > >Configuration files should ALWAYS be under /etc/. Failure to do so is a > >violation of the FHS (Filesystem Hierarchy Standard). > > > But I would say the point here is not to violate it but to permit RPM > builds under some user other than root. The problem is that the Makefile > wants to install in /etc but a non-root user won't have permission to do > this. It should install in /var/tmp/etc instead, but there's no way to > do this unless you have root permissions -- or change the Makefile to > install into an arbitrary directory. And from a security perspective, > the less you have to do as root, the better. > > >What's wrong with > >my $LOCAL_RULES_DIR = '$(PREFIX)/../etc/mail/spamassassin'; > > > It doesn't solve the non-root RPM build problem. >
I don't know anything about RPM's (other than that they are far inferior to .deb's). Debian's packages are installed with: make install PREFIX="/some/local/dir/usr" So, config files go in /some/local/dir/etc. (With LOCAL_RULES_DIR set to '$(PREFIX)../etc/mail') Clearly this does not require root privileges! If this doesn't solve your 'non-root RPM build problem,' then I pity everyone ever building RPMs. -- Duncan _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk