Bug#379801: /dev/volumegroupname/ directory is created with 0700 permissions

Bas Zoetekouw bas at debian.org
Tue Jul 25 17:20:18 UTC 2006


Package: lvm2
Version: 2.02.06-2
Severity: normal

The volume group directories /dev/<volumegroupname>, which contain the
links to /dev/mapper/volumegroupname-*, is created with 0700
permissions, even tough the /dev/mapper/ dir has sane 0755
permissions.
These restrictive permissions are annoying, because it prevents tab
completion in (very common)  situations like "sudo lvsomething
/dev/vgFOO/<tab>".
Putting the mask in lvm.conf to 022 is of course not an option, as the
devices themselves should not be world-readable.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.9
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages lvm2 depends on:
ii  debconf [debconf-2.0]        1.5.2       Debian configuration management sy
ii  libc6                        2.3.6-15    GNU C Library: Shared libraries
ii  libdevmapper1.02             2:1.02.07-1 The Linux Kernel Device Mapper use
ii  libncurses5                  5.5-2       Shared libraries for terminal hand
ii  libreadline5                 5.1-7       GNU readline and history libraries
ii  libselinux1                  1.30-1      SELinux shared libraries
ii  libsepol1                    1.12-1      Security Enhanced Linux policy lib
ii  lvm-common                   1.5.20      The Logical Volume Manager for Lin

lvm2 recommends no packages.

-- debconf information:
* lvm2/kernel:
  lvm2/snapshots:




More information about the pkg-lvm-maintainers mailing list