Re: mount writeable for use



On 2012-04-30 03:14:37 +0200, David W. Hodgins said:

On Sun, 29 Apr 2012 12:28:08 -0400, Philipp Kraus <philipp.kraus@xxxxxxxxxxxx> wrote:

Hello,

I'm using a Luks container on a loop back device for storing data. I'm
using also Udev for mounting

Using the loopback device is deprecated due to security
concerns. Consider using cryptsetup with device mapper.
See http://www.ody.ca/~dwhodgins/Luks-Howto.html

Thanks, for this information. I can remove my losetup structure of my script,
device mapper is installed


As you have the script mounting the device, why not
have it chown the mountpoint after the mount?

yes, your're right, because I have not seen the easy solution

How you figure out what the user id is, depends on the
distribution and version.

My Udev rule is called on the serial vendor id of a USB device,
so the USB device is owned by a special user, so I know the
ID

Thanks

Phil

.



Relevant Pages

  • Re: mount writeable for use
    ... Consider using cryptsetup with device mapper. ... As you have the script mounting the device, ... be parsed to find the active user. ...
    (comp.os.linux.misc)
  • Re: mount writeable for use
    ... using also Udev for mounting ... Consider using cryptsetup with device mapper. ... after this cryptsetup luksOpen mappername /dev/loop? ...
    (comp.os.linux.misc)