[CentOS] Re: wiki howto on custom kernel
ssilva at sgvwater.com
Mon Mar 12 16:12:55 UTC 2007
Alfred von Campe spake the following on 3/12/2007 9:02 AM:
> On Mar 12, 2007, at 10:15, Jim Perrin wrote:
>> Building as root is bad practice for all software. This is mostly to
>> protect you from bad code. If a cleanup script tries to delete /
>> instead of just the buildroot, you'll be in a world of hurt by
>> building as root. By building as a normal/restricted user you reduce
>> the permissions available to the code, thereby minimizing potential
> OK, I understand. A (somewhat) related question: can I move the
> ~/rpmbuild directory to a different location? My home directory is NFS
> mounted, and I'd rather do a build on a local disk. Can I just move it
> myself or is there a way to specify this as an option when installing
> the fedora-rpmdevtools RPM?
You can have your rpmbuild directory anywhere the user has r/w access to. It
just needs to be pointed out in the users .rpmmacros file. The .rpmmacros file
will need to be in the root of the users home directory though, because that
is where RPM looks for it.
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
More information about the CentOS