[Bug 235689] Re: LVM VG directory has wrong permissions (0700)
Phillip Susi
psusi at ubuntu.com
Mon May 13 13:31:20 UTC 2013
It looks like this has been fixed.
** Changed in: lvm2 (Ubuntu)
Status: Invalid => Fix Released
** No longer affects: devmapper (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/235689
Title:
LVM VG directory has wrong permissions (0700)
Status in “cryptsetup” package in Ubuntu:
Invalid
Status in “lvm2” package in Ubuntu:
Fix Released
Bug description:
$ lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
$ sudo mount | grep root
/dev/mapper/vgzontar-root on / type ext3 (rw,relatime,errors=remount-ro)
The permissions appear to be incorrect:
$ sudo ls -ld /dev/vgzontar /dev/vgzontar/root /dev/mapper/vgzontar-root
brw-rw---- 1 root disk 254, 2 2008-05-29 01:55 /dev/mapper/vgzontar-root
drwx------ 2 root root 100 2008-05-29 01:55 /dev/vgzontar
lrwxrwxrwx 1 root root 25 2008-05-29 01:55 /dev/vgzontar/root -> /dev/mapper/vgzontar-root
Question A) Shouldn't the symlinks be owned by root.disk?
Question B) Shouldn't the /dev/vgzontar directory be something other than 600 root.root ?
I have installed a fresh copy of Ubuntu 8.04 Hardy LTS.
My Ubuntu install is an LVM + crypt configuration:
$ sudo fdisk -l /dev/sda
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf8000000
Device Boot Start End Blocks Id System
/dev/sda1 1 10 80293+ de Dell Utility
/dev/sda2 11 272 2104515 b W95 FAT32
/dev/sda3 * 273 296 192780 83 Linux # GRUB boot partition
/dev/sda4 297 14593 114840652+ 83 Linux # <-- LUKS crypt partition containing LVM PV
$ ls -ld /dev/mapper/*
crw-rw---- 1 root root 10, 63 2008-05-29 01:55 /dev/mapper/control
brw-rw---- 1 root disk 254, 0 2008-05-29 01:55 /dev/mapper/sda4_crypt
brw-rw---- 1 root disk 254, 2 2008-05-29 01:55 /dev/mapper/vgzontar-root
brw-rw---- 1 root disk 254, 1 2008-05-29 01:55 /dev/mapper/vgzontar-swap
brw-rw---- 1 root disk 254, 3 2008-05-29 01:55 /dev/mapper/vgzontar-vtdisk
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/235689/+subscriptions
More information about the foundations-bugs
mailing list