Bugzilla – Bug 141224
LVM devices have different permissions comparing LVM and udev
Last modified: 2006-01-09 14:23:25 UTC
when using LVM, the devices for the logical volumes are created twice. The LVM subsystem creates devices, and udev creates devices as well. Both differ in their permissions, here is an example from alpha4: linux:/dev # ls -l mapper insgesamt 0 drwxr-xr-x 2 root root 200 2006-01-03 14:55 . drwxrwxrwt 12 root root 7260 2006-01-03 14:55 .. lrwxrwxrwx 1 root root 16 2006-01-03 14:55 control -> ../device-mapper brw------- 1 root root 253, 0 2006-01-03 14:55 system-swap brw------- 1 root root 253, 2 2006-01-03 14:55 system-swap1 brw------- 1 root root 253, 4 2006-01-03 14:55 system-swap2 brw------- 1 root root 253, 6 2006-01-03 14:55 system-swap3 brw------- 1 root root 253, 1 2006-01-03 14:55 system-v1 brw------- 1 root root 253, 3 2006-01-03 14:55 system-v2 brw------- 1 root root 253, 5 2006-01-03 14:55 system-v3 linux:/dev # ls -l dm-* brw-r----- 1 root disk 253, 0 2006-01-03 14:55 dm-0 brw-r----- 1 root disk 253, 1 2006-01-03 14:55 dm-1 brw-r----- 1 root disk 253, 2 2006-01-03 14:55 dm-2 brw-r----- 1 root disk 253, 3 2006-01-03 14:55 dm-3 brw-r----- 1 root disk 253, 4 2006-01-03 14:55 dm-4 brw-r----- 1 root disk 253, 5 2006-01-03 14:55 dm-5 brw-r----- 1 root disk 253, 6 2006-01-03 14:55 dm-6
minor inconsistency, root:disk 640 is the traditional mode on SUSE Linux.
Lars, this one may be for you - enjoy :)
This is normal and has been the case forever.
after getting complaint from bg I checked with lmb. lmb says this is wanted behaviour. while I consider the behaviour inconsistent we should not worry too much about it. lets just leave it closed.