The following reply was made to PR ports/94093; it has been noted by GNATS.
From: Adam McDougall <[EMAIL PROTECTED]> To: Andy Fawcett <[EMAIL PROTECTED]> Cc: [EMAIL PROTECTED] Subject: Re: ports/94093: qt/KDE install from ports creates files owned by root in user's homedir Date: Mon, 6 Mar 2006 08:25:32 -0500 On Mon, Mar 06, 2006 at 12:15:33PM +0200, Andy Fawcett wrote: You need "su -" to set the environment correctly. "su" on it's own increases your privieleges to root's, but does not inherit the root environment. Since KDE and Qt need to write files to the currently active user's home directory, this caused your problem. I wouldn't prefer to have these files in root's home directory either; would it be a consideration to have these ports temporarily set HOME to a temporary directory that gets removed later? Also I looked at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html and ports(7) and neither mention su. The handbook says "Note: You must be logged in as root to install ports." but simply saying that, I would not believe it's strictest literal meaning was intended unless clarified. I generally don't prefer to use "su -" as I like my own environment better than root's, and I may not be alone, so where would this "su -" requirement be documented? Yet another reason not to use "su -" is since I don't know what a port is planning to do to HOME as root, perhaps I don't want it messing with root's home directory at all? It would seem that if I can set my HOME to something better, so could ports. I don't intend to persue this issue for very long, just trying to see if we can arrive at an improvement that helps the average ports user. If not enough of our ports users report this problem, maybe it just doesn't matter. _______________________________________________ kde-freebsd mailing list [email protected] http://freebsd.kde.org/mailman/listinfo/kde-freebsd
