From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kay Sievers" Date: Mon, 15 Dec 2008 14:59:19 +0000 Subject: Re: udev lvm permisions Message-Id: List-Id: References: <1229336451.19633.4.camel@linux-pqqd.site> In-Reply-To: <1229336451.19633.4.camel@linux-pqqd.site> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Dec 15, 2008 at 11:20, Geert Geurts wrote: > I have created a encrypted lvm home volume for placing personal files, > and using them on different distributions. > I'm using OpenSuse 11 and Ubuntu 8.10 both distributions are configured > to decrypt the HomeVolume on login using pam_mount. The problem is that > the permissions to the HomeVolume are not set correctly by Suse, so the > volume cannot be decrypted and cannot be mounted. > How can I create a udev rule that applies only to one LVM volume? What kind of permissions? The ownership of the block device? Do you need to mount it as a user, not as root? Kay