Operating System - HP-UX
1833294 Members
3378 Online
110051 Solutions
New Discussion

Re: correct permission for /dev device files

 
kholikt
Super Advisor

correct permission for /dev device files

Hi,

May I know what should be the correct permission and owner of the following files.

crw-r--r-- 1 bin bin 240 0x020000 Mar 21 14:17 lan2
crw-r--r-- 1 bin bin 240 0x030000 Mar 21 14:17 lan3
crw-r--r-- 1 bin bin 240 0x040000 Mar 21 14:17 lan4
crw-r--r-- 1 bin bin 242 0x050000 Mar 21 14:17 lan5
crw-r--r-- 1 bin bin 171 0x000001 Mar 21 14:11 ether0
crw-r--r-- 1 bin bin 240 0x010001 Mar 21 14:17 ether1
crw-r--r-- 1 bin bin 240 0x020001 Mar 21 14:17 ether2
crw-r--r-- 1 bin bin 240 0x030001 Mar 21 14:17 ether3
crw-r--r-- 1 bin bin 240 0x040001 Mar 21 14:17 ether4
crw-r--r-- 1 bin bin 242 0x050001 Mar 21 14:17 ether5


I always thought it should be root:root with a 640 permission
abc
3 REPLIES 3
Michael Tully
Honored Contributor

Re: correct permission for /dev device files

The permissions should be 666 for each of these. The ownership is not a problem. The are a number of files such as disks, LVM information that should not be.
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: correct permission for /dev device files

Typically the files should have permissions 666 for the files in /dev/*.

The permissions on my system are

crw------- 1 root root 236 0x000000 Aug 11 09:31 /dev/lan0


crw-rw-rw- 1 bin bin 52 0x000001 Jul 20 2000 /dev/ether0

Hear something from Bill here

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x69184b3ef09fd611abdb0090277a778c,00.html


Thanks
kholikt
Super Advisor

Re: correct permission for /dev device files

I think the correct permission should be 600
abc