luks filesystem on USB device changes ownership between computers

Adam Funk a24061 at ducksburg.com
Mon Aug 9 14:17:26 UTC 2010


I have a USB device with two partitions, one of which is a LUKS
filesystem, and I use it on two different computers.  Wherever I plug
it in, the passphrase works correctly and the device appears with the
same /media/$uuid name, but the ownership changes and I have to run
'sudo chmod -R adam' on it.  I assume this is because my account has
number 1000 on one machine and 1001 on the other.  Is there any way to
configure the device, or the hal rules on the machines, to mount it
automatically all owned by me?





More information about the ubuntu-users mailing list