Package: cryptmount
Version: 4.2-1
Severity: normal
Hello,
Hello,
I am having a problem writing to a LUKS-encrypted VFAT partition on my USB
flash drive.
The drive mounts OK, but the permissions on the mount directory don't appear to
be correct - the user is set to "root".
Here are the steps I used, which should illustrate the problem:
---
### Mounting with cryptmount ###
george@deli:~ $ cryptmount imation
Enter password for target "imation":
dosfsck 3.0.9, 31 Jan 2010, FAT32, LFN
/dev/mapper/imation: 1 files, 1/263481 clusters
george@deli:~ $ cat /etc/mtab | grep imation
/dev/mapper/imation /media/imation vfat rw 0 0
george@deli:~ $ cat /etc/cryptmount/cmtab
[...]
imation {
keyformat=luks
dev=/dev/disk/by-uuid/0ab3d88f-0730-4837-a95f-2732e1824200
dir=/media/imation
fstype=vfat
}
george@deli:~ $ ls -ld /media/imation/
drwxr-xr-x 2 root george 4096 Jan 1 1970 /media/imation/
george@deli:~ $ touch /media/imation/test.txt
touch: cannot touch `/media/imation/test.txt': Permission denied
---
This is what happens when mounting with 'mount' command:
---
### Mounting with mount ###
george@deli:~ $ su
deli:/home/george# cryptmount -p imation
Enter password for target "imation":
deli:/home/george# exit
george@deli:~ $ mount /media/imation/
george@deli:~ $ cat /etc/mtab | grep imation
/dev/mapper/imation /media/imation vfat rw,noexec,nosuid,nodev,user=george 0 0
george@deli:~ $ ls -ld /media/imation/
drwxr-xr-x 2 george george 4096 Jan 1 1970 /media/imation/
george@deli:~ $ touch /media/imation/test.txt
george@deli:~ $
---
Thanks,
George
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages cryptmount depends on:
ii libc6 2.13-16
ii libdevmapper1.02.1 [libdevmapper] 2:1.02.65-1
ii libgcrypt11 1.4.6-9
ii libuuid1 2.19.1-5
cryptmount recommends no packages.
Versions of packages cryptmount suggests:
ii dmsetup 2:1.02.65-1
ii openssl 1.0.0e-2
-- Configuration Files:
/etc/cryptmount/cmtab changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]