Please help. I am using RedHat 6.2 and am encountering permission problems with /dev. All users do not have permission to access /dev. The error "bash: /dev/null: Permission denied" appears when I telnet in. When I do a listing of /dev directory I get the following:
ls: /dev/null: Permission denied
ls: /dev/ttyS0: Permission denied
ls: /dev/ttyS1: Permission denied
.... etc
The permissions for /dev is:
drw-rw-rw- 7 root tty 36864 Oct 25 18:42 dev
and for some of the devices in /dev:
crw-rw-rw- 1 root root 1, 3 May 6 1998 null
crw-r--r-- 1 root uucp 4, 64 Oct 25 15:00 ttyS0
crw-r--r-- 1 root tty 4, 65 Oct 27 10:03 ttyS1
ls: /dev/null: Permission denied
ls: /dev/ttyS0: Permission denied
ls: /dev/ttyS1: Permission denied
.... etc
The permissions for /dev is:
drw-rw-rw- 7 root tty 36864 Oct 25 18:42 dev
and for some of the devices in /dev:
crw-rw-rw- 1 root root 1, 3 May 6 1998 null
crw-r--r-- 1 root uucp 4, 64 Oct 25 15:00 ttyS0
crw-r--r-- 1 root tty 4, 65 Oct 27 10:03 ttyS1