Results 1 to 9 of 9
i recently built a 2005.0 box using the Universal CD
when i finished, i tried loggin in with my user account and got this:
-bash: /dev/null: Permission Denied
-bash: /dev/null: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-15-2005 #1Just Joined!
- Join Date
- Nov 2004
- Posts
- 31
/dev/null: Permission Denied
i recently built a 2005.0 box using the Universal CD
when i finished, i tried loggin in with my user account and got this:
-bash: /dev/null: Permission Denied
-bash: /dev/null: Permission Denied
I read a guide that said to chmod 666 /dev/null
that works, and the message disappears
HOWEVER, i am unable to run XTERM or Konsole or anything like that in KDE/Fluxbox/XFCE4
emerge info shows gcc-3.4.3-20050110-r2, and that is supposesd to include the fix. WTF is wrong ?
- 04-15-2005 #2Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Are you sure your user is a member of all those groups:
Code:bash-2.05b$ groups wheel floppy audio cdrom video games usb users
- 04-16-2005 #3Just Joined!
- Join Date
- Nov 2004
- Posts
- 31
doesnt need to be. obviously you werent reading.
this is a problem specific to GCC, and i am wondering if anyone has found a workaround to this yet?
- 04-17-2005 #4Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
Weird, it works fine here...
- 04-17-2005 #5Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
I had a problem where xterm would not run within certain xwms. Does your xterm work if logged in as root? Mine worked as root but not as a user so I
and every thing worked fine from there on out. Not sure but its worth a shot.Code:chmod 777 /dev
Operating System: GNU Emacs
- 07-03-2005 #6Just Joined!
- Join Date
- Nov 2004
- Posts
- 31
lol. i figured that out many moons ago
but yes that is what i had to do 
havent been on LF.net for a while
Thanks tho
- 07-03-2005 #7
this sounds as if it is the solution to the problem...http://www.gentoo.org/doc/en/udev-guide.xml scroll down to #3
~Mike ~~~ Forum Rules
Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
http://loft306.org
- 07-03-2005 #8Linux User
- Join Date
- Nov 2003
- Location
- Brooklyn, NY
- Posts
- 347
Guys you should really pay attention to what the hell are you doing before even suggesting it to others. It is a problem with latest Dbus as loft306 said.
Now that you did chmod 777 /dev, any user on your computer can destroy your box. Amongst many other EXTREMELY obvious and stupid reasons something as basic as cat /dev/zero > /dev/hda will destroy your whole setup.
- 07-03-2005 #9Linux Engineer
- Join Date
- Jul 2003
- Location
- Uppsala, Sweden
- Posts
- 1,278
well pointed out slip, Advice like that is extreemly bad for anyone that comes across it who doesnt know better,
DO NOT CHMOD 777 /DEV/* or anything.. there really is no need to have any files that are world read/write and executable.. if you do (as slip says) you system is wide open to attack or accidental destruction.. you might as well use windows MEProud to be a GNU/Gentoo Linux user!


Reply With Quote
