1

how to set owner and permission to a cryptsetup made device?

view story
linux-howto

http://askubuntu.com – I have an encrypted loopback volume. I need to mount and umount the volume manually, so I use cryptsetup luksOpen and cryptsetup luksClose . However, under all sessions (gnome/xfce/kde/unity), when I invoke this command it pops up the /dev/mapper device ... And then it lets the one user mount (with password), access files, and unmount the volume. It's quite annoying in a multi user server (you are working on your files and the volume is being unmounted). I want the volume to be owned and used by only root and the owner and not all users. How can I define ownership and permission on the de (HowTos)