Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No permission for /dev 1

Status
Not open for further replies.

RickyWee

MIS
Oct 26, 2000
1
SG
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
 
you want to give your /dev folder 755 permission.
as root, execute:

chmod 755 /dev

that should solve the problem.


Regards,
Gerald
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top