Gentoo Archives: gentoo-user

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [SOLVED] Re: Problem with modifying PATH with a file in env.d
Date: Sun, 01 Jun 2008 09:13:44
Message-Id: g1tp7h$opl$1@ger.gmane.org
In Reply to: [gentoo-user] Re: Problem with modifying PATH with a file in env.d by Marc Blumentritt
1 Marc Blumentritt schrieb:
2
3 > I just stumbled about something new:
4 >
5 > marc@hive ~ $ echo $PATH
6 > /usr/local/sbin/:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:
7 >
8 > /opt/sun-jdk-1.4.2.17/bin:/opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:
9 >
10 > /usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/bblinks
11 > marc@hive ~ $ sudo -i
12 > hive ~ # echo $PATH
13 > /root/tools:/usr/lib/ccache/bin:/usr/lib/distcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:
14 >
15 > /usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/opt/sun-jdk-1.4.2.17/bin:
16 >
17 > /opt/sun-jdk-1.4.2.17/jre/bin:/opt/sun-jdk-1.4.2.17/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin
18 >
19 >
20 > My standard user (marc) has now /bblinks in his PATH, but not root?
21 > Any idea why this is happens?
22
23 OK, solved this myself. Adding ROOTPATH=/bblinks to 99busybox does set
24 the path for root, too.
25
26 Regards
27 Marc
28
29 --
30 gentoo-user@l.g.o mailing list