Bug#316883: lvm2: creates device nodes as root:root 600, breaking amanda

Bastian Blank Bastian Blank <waldi@debian.org>, 316883@bugs.debian.org
Tue, 5 Jul 2005 09:53:42 +0200


--H1spWtNR+x+ondvy
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

severity 316883 wishlist
tags 316883 wontfix
thanks

On Mon, Jul 04, 2005 at 04:55:11PM +0200, Marc Haber wrote:
> unlike lvm10 (which created LV device nodes as root:disk 660), lvm2
> creates its device nodes as root:root 600:

lvm2 creates no devices, this is done by libdevmapper.

> brw-------   1 root root 253,  1 Jul  4 11:32 vg0-usr
> This precludes amanda backups from happening.

Write access to disks is nearly as good as root. Get the CAP_DAC_READ
capability, which is designed for backup purposes.

> Please deliver lvm2 in a way that makes the LV device nodes readable
> by group disk. If this can be done, please tell me how to change my
> local configuration to make backup possible again.

Use udev if you need special modes.

Bastian

--=20
Killing is stupid; useless!
		-- McCoy, "A Private Little War", stardate 4211.8

--H1spWtNR+x+ondvy
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iEYEARECAAYFAkLKPIYACgkQnw66O/MvCNHEdQCfX4bqefG9ulzzH/ZeuP/WVaL7
sqgAn0VLJjt7QsulWY1l4ianF1A8svy8
=a70l
-----END PGP SIGNATURE-----

--H1spWtNR+x+ondvy--