Bad $PATH for X11 ports

Kris Kennaway kris at obsecurity.org
Sun Jan 16 17:12:45 PST 2005


On Mon, Jan 17, 2005 at 12:47:41AM +0100, Jeremie Le Hen wrote:
> > I don't understand what you're trying to accomplish. Are you proposing 
> > that the ports system look for programs outside of your $PATH? Why don't 
> > you just add /usr/X11R6/bin to your $PATH?
> 
> Yes this is what I have done.  But I wasn't sure about whether this
> was a workaround or not : what I felt the most disturbing was that
> the port framework didn't see the installed imake version and tried
> to build another one.  But with your answer, I assume this is a must
> to have /usr/X11R6/bin in $PATH, even for the root user.  I was a
> little bit sceptical since I don't used to run X11 applications as root.

The default user path includes this directory, and it is assumed that
the user who changes this knows what they are doing.

Summary: don't do that.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050116/364d8d84/attachment.bin


More information about the freebsd-ports mailing list